mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Scripts/FoS: Fixed visual bug when Devourer of Souls casts Wailing Souls.
fixed #1692
This commit is contained in:
@@ -306,6 +306,7 @@ class boss_devourer_of_souls : public CreatureScript
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
me->SetOrientation(me->GetAngle(target));
|
||||
me->SendMovementFlagUpdate();
|
||||
DoCast(me, SPELL_WAILING_SOULS_BEAM);
|
||||
}
|
||||
|
||||
@@ -332,6 +333,7 @@ class boss_devourer_of_souls : public CreatureScript
|
||||
case EVENT_WAILING_SOULS_TICK:
|
||||
beamAngle += beamAngleDiff;
|
||||
me->SetOrientation(beamAngle);
|
||||
me->SendMovementFlagUpdate();
|
||||
me->StopMoving();
|
||||
|
||||
DoCast(me, SPELL_WAILING_SOULS);
|
||||
|
||||
Reference in New Issue
Block a user