From 884e1e9c0167eaad80a532ce3eb78d196d38eecf Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 17 Apr 2018 15:41:12 +0200 Subject: [PATCH] Scripts/BoT: enslaved dragons will now cast their debuff again --- .../BastionOfTwilight/boss_halfus_wyrmbreaker.cpp | 8 ++++---- .../BastionOfTwilight/instance_bastion_of_twilight.cpp | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp index e676e978fcf..d547e94f54a 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp @@ -455,19 +455,19 @@ class npc_halfus_enslaved_dragon : public CreatureScript switch (me->GetEntry()) { - case NPC_NETHER_SCION: + case NPC_NETHER_SCION_ENCOUNTER: me->SetFacingToObject(halfus); DoCastSelf(SPELL_NETHER_BLINDNESS, true); break; - case NPC_SLATE_DRAGON: + case NPC_SLATE_DRAGON_ENCOUNTER: me->SetFacingToObject(halfus); DoCastSelf(SPELL_STONE_TOUCH, true); break; - case NPC_STORM_RIDER: + case NPC_STORM_RIDER_ENCOUNTER: me->SetFacingToObject(halfus); DoCastSelf(SPELL_CYCLONE_WINDS, true); break; - case NPC_TIME_WARDEN: + case NPC_TIME_WARDEN_ENCOUNTER: me->SetFacingToObject(protoBehemoth); DoCastSelf(SPELL_TIME_DILATION, true); break; diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/instance_bastion_of_twilight.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/instance_bastion_of_twilight.cpp index c8d2a8a19b2..242a4bdc366 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/instance_bastion_of_twilight.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/instance_bastion_of_twilight.cpp @@ -181,7 +181,6 @@ class instance_bastion_of_twilight : public InstanceMapScript if (creature->GetEntry() != NPC_ORPHANED_EMERALD_WELP) creature->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK); - } } }