aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellAuras.cpp7
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: