*Update rules of aura stack.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-23 10:22:58 -05:00
parent d132f7e401
commit 0b06baee4d
5 changed files with 68 additions and 65 deletions

View File

@@ -3865,7 +3865,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur)
if (is_triggered_by_spell)
continue;
if(!spellmgr.IsNoStackSpellDueToSpell(spellId, i_spellId, sameCaster))
if(spellmgr.CanAurasStack(spellProto, i_spellProto, sameCaster))
continue;
//some spells should be not removed by lower rank of them (totem, paladin aura)