[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) if(!Real)
return; return;
// Frost stun aura -> freeze/unfreeze target
if (GetSpellSchoolMask(m_spellProto) & SPELL_SCHOOL_MASK_FROST)
m_target->ModifyAuraState(AURA_STATE_FROZEN, apply);
if (apply) if (apply)
{ {
m_target->addUnitState(UNIT_STAT_STUNNED); m_target->addUnitState(UNIT_STAT_STUNNED);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7316" #define REVISION_NR "7317"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__