From d91e099b10a33d9205c023c81bcc966d713c39ab Mon Sep 17 00:00:00 2001 From: ariel- Date: Thu, 15 Feb 2018 17:48:25 -0300 Subject: Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET - Creatures stuck here wouldn't try attacking because of this - Remove one workaround in halion script, now it's unneeded Ref #11311 (cherry picked from commit 29f7258dc824659cb2de81c5ff3b3b3853de2a8b) --- .../scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/server/scripts/Northrend') diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp index dc23c621fea..e6635bf0cd4 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp @@ -925,13 +925,6 @@ class npc_orb_carrier : public CreatureScript me->CastSpell(nullptr, SPELL_TRACK_ROTATION, false); scheduler.Update(diff); - - /// Workaround: This is here because even though the above spell has SPELL_ATTR1_CHANNEL_TRACK_TARGET, - /// we are having two creatures involded here. This attribute is handled clientside, meaning the client - /// sends orientation update itself. Here, no packet is sent, and the creature does not rotate. By - /// forcing the carrier to always be facing the rotation focus, we ensure everything works as it should. - if (Creature* rotationFocus = _instance->GetCreature(DATA_ORB_ROTATION_FOCUS)) - me->SetFacingToObject(rotationFocus); // setInFront } void DoAction(int32 action) override -- cgit v1.2.3