mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-04 00:07:49 +00:00
fix(Scripts/Naxxramas): Sapphiron flight phase animation (#24535)
This commit is contained in:
@@ -128,6 +128,7 @@ public:
|
|||||||
spawnTimer = 0;
|
spawnTimer = 0;
|
||||||
currentTarget.Clear();
|
currentTarget.Clear();
|
||||||
blockList.clear();
|
blockList.clear();
|
||||||
|
me->SetAnimTier(AnimTier::Fly);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnterCombatSelfFunction()
|
void EnterCombatSelfFunction()
|
||||||
@@ -291,7 +292,7 @@ public:
|
|||||||
me->AttackStop();
|
me->AttackStop();
|
||||||
float x, y, z, o;
|
float x, y, z, o;
|
||||||
me->GetHomePosition(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;
|
return;
|
||||||
case EVENT_FLIGHT_LIFTOFF:
|
case EVENT_FLIGHT_LIFTOFF:
|
||||||
Talk(EMOTE_AIR_PHASE);
|
Talk(EMOTE_AIR_PHASE);
|
||||||
|
|||||||
Reference in New Issue
Block a user