[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 <vladimir@getmangos.com>
This commit is contained in:
Vinolentus 2010-08-01 19:09:20 +04:00 committed by VladimirMangos
parent 493ae9c2f5
commit 0880454847
2 changed files with 4 additions and 4 deletions

View file

@ -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
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10305"
#define REVISION_NR "10306"
#endif // __REVISION_NR_H__