mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-08 02:00:29 +00:00
fix(Scripts/Ulduar): Fix Razorscale walking in air animation (#24940)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
UPDATE `waypoint_data` SET `move_type` = 1 WHERE `id` = 1376110;
|
||||
@@ -170,6 +170,7 @@ struct boss_razorscale : public BossAI
|
||||
CommanderGUID.Clear();
|
||||
bGroundPhase = false;
|
||||
flyTimes = 0;
|
||||
me->SetAnimTier(AnimTier::Fly);
|
||||
}
|
||||
|
||||
void AttackStart(Unit* who) override
|
||||
@@ -610,7 +611,7 @@ public:
|
||||
{
|
||||
razorscale->AI()->AttackStart(player);
|
||||
razorscale->GetMotionMaster()->MoveIdle();
|
||||
razorscale->GetMotionMaster()->MovePoint(POINT_RAZORSCALE_INIT, 588.0f, -178.0f, 490.0f, FORCED_MOVEMENT_NONE, 0.f, 0.f, false, false);
|
||||
razorscale->GetMotionMaster()->MovePoint(POINT_RAZORSCALE_INIT, CORDS_AIR.GetPositionX(), CORDS_AIR.GetPositionY(), CORDS_AIR.GetPositionZ(), FORCED_MOVEMENT_NONE, 0.f, 0.f, false, false, MOTION_SLOT_ACTIVE, AnimTier::Fly);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user