diff options
| author | megamage <none@none> | 2009-01-07 18:23:56 -0600 | 
|---|---|---|
| committer | megamage <none@none> | 2009-01-07 18:23:56 -0600 | 
| commit | a41329b9bbd023eb70acc4ba5aa27d7c757f4a8c (patch) | |
| tree | 1659807150cba666dd0e68384b3c873779f6f2fb | |
| parent | ed63be26ae5c9d8d7825b1d122aa322da0fd7b85 (diff) | |
*Fix the bug that Cycloned target can be healed by HOT.
--HG--
branch : trunk
| -rw-r--r-- | src/game/SpellAuras.cpp | 11 | 
1 files changed, 7 insertions, 4 deletions
| diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 3469f65d7ff..ebee1e4c22b 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -591,10 +591,13 @@ void Aura::Update(uint32 diff)              // update before applying (aura can be removed in TriggerSpell or PeriodicTick calls)              m_periodicTimer += m_modifier.periodictime; -            if(m_isTrigger) -                TriggerSpell(); -            else -                PeriodicTick(); +            if(!m_target->hasUnitState(UNIT_STAT_ISOLATED)) +            { +                if(m_isTrigger) +                    TriggerSpell(); +                else +                    PeriodicTick(); +            }          }      }  } | 
