aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-15 17:48:25 -0300
committerShauren <shauren.trinity@gmail.com>2021-06-21 12:47:03 +0200
commitd91e099b10a33d9205c023c81bcc966d713c39ab (patch)
treece5b4bac27bfdf4502dd4a454fc0b0c7427a021d /src/server/scripts
parentad1e8addf51cffcc1a1e9f06e7e6d00f591470df (diff)
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)
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp7
1 files changed, 0 insertions, 7 deletions
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