diff options
author | Blaymoira <none@none> | 2009-01-02 13:28:06 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2009-01-02 13:28:06 +0100 |
commit | 44b1df25adf585a3c894301121a5638c70197e2f (patch) | |
tree | 1b97b60ec4a9c4af9e62eb3baa1915334b578ef2 /src | |
parent | 72449b06a7739e8f27e534eaa2325b15c1169e63 (diff) |
*Fixed area explode effect of 31447
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 6865c67d24c..06fff3309c0 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5777,6 +5777,13 @@ void Aura::PeriodicTick() int32 gain = pCaster->ModifyPower(power,gain_amount); m_target->AddThreat(pCaster, float(gain) * 0.5f, GetSpellSchoolMask(GetSpellProto()), GetSpellProto()); } + // Mark of Kaz'rogal + if(GetId() == 31447 && m_target->GetPower(power) == 0) + { + m_target->CastSpell(m_target, 31463, true, 0, this); + // Remove aura + SetAuraDuration(0); + } break; } case SPELL_AURA_PERIODIC_ENERGIZE: |