Scripts/Ulduar: Make XT-002 and Ignis enter evade mode if pulled out from their fight areas.

Also implement a default case for EnterEvadeIfOutOfCombatArea.
This commit is contained in:
Souler
2011-09-22 22:14:52 +02:00
parent 9ea40a4746
commit 99c63e86ae
3 changed files with 9 additions and 3 deletions
@@ -273,6 +273,8 @@ class boss_ignis : public CreatureScript
}
DoMeleeAttackIfReady();
EnterEvadeIfOutOfCombatArea(diff);
}
private:
@@ -306,6 +306,8 @@ class boss_xt002 : public CreatureScript
if (_phase == 1)
DoMeleeAttackIfReady();
EnterEvadeIfOutOfCombatArea(diff);
}
void PassengerBoarded(Unit* who, int8 /*seatId*/, bool apply)