From 0880454847134697e654d48b09c8e76a845caaff Mon Sep 17 00:00:00 2001 From: Vinolentus Date: Sun, 1 Aug 2010 19:09:20 +0400 Subject: [PATCH] [10306] Restore spell boosts apply. It has been broken in srange way at moving function to SpellAuraHolder :/ Must restore work many additional auras affects Signed-off-by: VladimirMangos --- src/game/SpellAuras.cpp | 6 +++--- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index ccbdcc46a..d124b7850 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -8717,11 +8717,11 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply) if (spellId1) m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID()); if (spellId2 && !IsDeleted()) - m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID()); + m_target->CastSpell(m_target, spellId2, true, NULL, NULL, GetCasterGUID()); if (spellId3 && !IsDeleted()) - m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID()); + m_target->CastSpell(m_target, spellId3, true, NULL, NULL, GetCasterGUID()); if (spellId4 && !IsDeleted()) - m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID()); + m_target->CastSpell(m_target, spellId4, true, NULL, NULL, GetCasterGUID()); } else { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c64418ca0..eb5a350ac 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10305" + #define REVISION_NR "10306" #endif // __REVISION_NR_H__