*Fixed area explode effect of 31447

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-01-02 13:28:06 +01:00
parent 72449b06a7
commit 44b1df25ad
+7
View File
@@ -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: