aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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();
+ }
}
}
}