aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-15 17:48:25 -0300
committerariel- <ariel-@users.noreply.github.com>2018-02-15 17:50:15 -0300
commit29f7258dc824659cb2de81c5ff3b3b3853de2a8b (patch)
treea427e705e90e02ba78cc37804ea33d6c58dd82b3 /src/server/scripts
parent637dda815c39952dd7eee22577a6a22dececa95b (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
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 ad591aa3c6b..0ef17388604 100644
--- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp
+++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp
@@ -924,13 +924,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