aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-07 18:23:56 -0600
committermegamage <none@none>2009-01-07 18:23:56 -0600
commita41329b9bbd023eb70acc4ba5aa27d7c757f4a8c (patch)
tree1659807150cba666dd0e68384b3c873779f6f2fb /src
parented63be26ae5c9d8d7825b1d122aa322da0fd7b85 (diff)
*Fix the bug that Cycloned target can be healed by HOT.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp11
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();
+ }
}
}
}