From 9efc048cbcdb304ca9dd4368ed7dd07520f27602 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sat, 18 Aug 2018 22:42:55 +0200 Subject: [PATCH] Revert "Scripts/BoT: removed an unneeded workarround that has become deprecated since the track channeling fix" This reverts commit 47263fb72ce6f1f308e0fe8940bd64f639fcc121. --- .../boss_theralion_and_valiona.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_theralion_and_valiona.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_theralion_and_valiona.cpp index 341e3c4838d..c4ac885223c 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_theralion_and_valiona.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_theralion_and_valiona.cpp @@ -564,6 +564,21 @@ class boss_valiona : public CreatureScript } } + void SpellHitTarget(Unit* target, SpellInfo const* spell) override + { + if (!target) + return; + + switch (spell->Id) + { + case SPELL_DEVOURING_FLAMES_TARGETING: // tempoary workarround to fix a core internal focusing issue + me->SetOrientation(me->GetAngle(target)); + break; + default: + break; + } + } + void DoAction(int32 action) { switch (action)