From 44b1df25adf585a3c894301121a5638c70197e2f Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Fri, 2 Jan 2009 13:28:06 +0100 Subject: [PATCH] *Fixed area explode effect of 31447 --HG-- branch : trunk --- src/game/SpellAuras.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 6865c67d24..06fff3309c 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: