Scripts/Icecrown Citadel: Added text and sound for Deathbound Wards

This commit is contained in:
Shauren
2011-05-21 18:35:55 +02:00
parent 84ab669119
commit 9368ef8a5c
2 changed files with 9 additions and 0 deletions
@@ -65,6 +65,9 @@ enum Texts
SAY_MURADIN_INTRO_2 = 14,
SAY_MURADIN_INTRO_3 = 15,
// Deathbound Ward
SAY_TRAP_ACTIVATE = 0,
// Rotting Frost Giant
EMOTE_DEATH_PLAGUE_WARNING = 0,
@@ -1742,6 +1745,7 @@ class spell_icc_sprit_alarm : public SpellScriptLoader
{
if ((*itr)->isAlive() && (*itr)->HasAura(SPELL_STONEFORM))
{
(*itr)->AI()->Talk(SAY_TRAP_ACTIVATE);
(*itr)->RemoveAurasDueToSpell(SPELL_STONEFORM);
if (Unit* target = (*itr)->SelectNearestTarget(150.0f))
(*itr)->AI()->AttackStart(target);