[7317] Fixed units not considered frozen when stunned from frost auras.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
Tassader2 2009-02-21 11:20:23 +01:00 committed by ApoC
parent 487a3d3dfc
commit 011bd0c1de
2 changed files with 5 additions and 1 deletions

View file

@ -3313,6 +3313,10 @@ void Aura::HandleAuraModStun(bool apply, bool Real)
if(!Real)
return;
// Frost stun aura -> freeze/unfreeze target
if (GetSpellSchoolMask(m_spellProto) & SPELL_SCHOOL_MASK_FROST)
m_target->ModifyAuraState(AURA_STATE_FROZEN, apply);
if (apply)
{
m_target->addUnitState(UNIT_STAT_STUNNED);