*Update to Trinity 759.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-02 10:35:19 -06:00
19 changed files with 813 additions and 65 deletions
+7
View File
@@ -5956,6 +5956,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: