From 34aae5610411afa883bdc73ba068f06d26bc74e9 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Thu, 6 Jan 2011 21:41:57 +0100 Subject: Scripts/Zul'Gurub: High Priest Thekal will no longer die inbetween his two phases Signed-off-by: Machiavelli --- src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/server/scripts') diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp index a752a2a78c9..9462162a59b 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp @@ -178,6 +178,8 @@ class boss_thekal : public CreatureScript if (!PhaseTwo && !WasDead && !HealthAbovePct(5)) { + me->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT); + me->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE); me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); me->SetStandState(UNIT_STAND_STATE_SLEEP); me->AttackStop(); @@ -398,6 +400,8 @@ class mob_zealot_lorkhan : public CreatureScript if (!HealthAbovePct(5)) { + me->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT); + me->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE); me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); me->SetStandState(UNIT_STAND_STATE_SLEEP); me->setFaction(35); @@ -548,6 +552,8 @@ class mob_zealot_zath : public CreatureScript if (!HealthAbovePct(5)) { + me->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT); + me->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE); me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); me->SetStandState(UNIT_STAND_STATE_SLEEP); me->setFaction(35); -- cgit v1.2.3