From 011bd0c1de8b891add06dba400dc715302302005 Mon Sep 17 00:00:00 2001 From: Tassader2 Date: Sat, 21 Feb 2009 11:20:23 +0100 Subject: [PATCH] [7317] Fixed units not considered frozen when stunned from frost auras. Signed-off-by: ApoC --- src/game/SpellAuras.cpp | 4 ++++ src/shared/revision_nr.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 786bd2e60..c53452e5a 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1be10ef40..1e66c4fa7 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 "7316" + #define REVISION_NR "7317" #endif // __REVISION_NR_H__