Core/Units: Update PlayHoverAnim state when flying or hovering (#29434)

This commit is contained in:
Meji
2023-11-25 14:04:33 +01:00
committed by GitHub
parent 1c6ee8a6bd
commit c1b36eec56
4 changed files with 28 additions and 4 deletions

View File

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

View File

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