fix(Scripts/Naxxramas): Sapphiron flight phase animation (#24535)

This commit is contained in:
sogladev 2026-02-01 16:59:52 +01:00 committed by GitHub
parent 154a4a0761
commit f27a1e2619
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,6 +128,7 @@ public:
spawnTimer = 0;
currentTarget.Clear();
blockList.clear();
me->SetAnimTier(AnimTier::Fly);
}
void EnterCombatSelfFunction()
@ -291,7 +292,7 @@ public:
me->AttackStop();
float x, y, z, o;
me->GetHomePosition(x, y, z, o);
me->GetMotionMaster()->MovePoint(POINT_CENTER, x, y, z);
me->GetMotionMaster()->MovePoint(POINT_CENTER, x, y, z, FORCED_MOVEMENT_NONE, 0.f, o);
return;
case EVENT_FLIGHT_LIFTOFF:
Talk(EMOTE_AIR_PHASE);