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:
parent
6fdcd717c2
commit
c4a49f914a
2 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue