Revert "Scripts/BoT: removed an unneeded workarround that has become deprecated since the track channeling fix"

This reverts commit 47263fb72c.
This commit is contained in:
Ovahlord
2018-08-18 22:42:55 +02:00
parent e262b49676
commit 9efc048cbc

View File

@@ -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)