[Core] Implement Inferno spell for Baron Geddon (classic version with TriggerSpell) [cz2659]

This commit is contained in:
Krullgor 2015-07-07 22:07:47 +01:00 committed by Antz
parent e251c79685
commit f74a6bdb60

View File

@ -1083,6 +1083,12 @@ void Aura::TriggerSpell()
triggerTarget->CastCustomSpell(triggerTarget, trigger_spell_id, &m_modifier.m_amount, NULL, NULL, true, NULL, this);
return;
}
case 19695: // Inferno
{
int32 damageForTick[8] = { 500, 500, 1000, 1000, 2000, 2000, 3000, 5000 };
triggerTarget->CastCustomSpell(triggerTarget, 19698, &damageForTick[GetAuraTicks() - 1], NULL, NULL, true, NULL);
return;
}
}
}