mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user