mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Units: Update PlayHoverAnim state when flying or hovering (#29434)
This commit is contained in:
@@ -1128,7 +1128,6 @@ struct npc_baleful_beaming_eye : public ScriptedAI
|
||||
void JustAppeared() override
|
||||
{
|
||||
me->SetDisplayId(DISPLAYID_BALEFUL_EYE, true);
|
||||
me->SetPlayHoverAnim(true);
|
||||
DoCastSelf(SPELL_BALEFUL_BEAMING_EYE_CREATE_AT);
|
||||
// ToDo: rotation isn't changing orientation, turnspeed should be random
|
||||
me->GetMotionMaster()->MoveRotate(0, 10000, RAND(ROTATE_DIRECTION_LEFT, ROTATE_DIRECTION_RIGHT));
|
||||
|
||||
@@ -1372,7 +1372,6 @@ struct npc_anduin_wrynn_anduin_soul : public ScriptedAI
|
||||
{
|
||||
me->SetDisableGravity(true, true);
|
||||
me->SetHoverHeight(1.0);
|
||||
me->SetPlayHoverAnim(true);
|
||||
DoCastSelf(SPELL_LOST_SOUL_PERIODIC);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user