mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7317] Fixed units not considered frozen when stunned from frost auras.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
487a3d3dfc
commit
011bd0c1de
2 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue