mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/Ulduar): keep Razorscale grounded during her permanent ground phase (#27610)
Co-authored-by: Rocco Silipo <[email protected]>
This commit is contained in:
co-authored by
Rocco Silipo
parent
985c747291
commit
875358dc2a
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `creature_template_movement` SET `Flight` = 0 WHERE `CreatureId` IN (33186, 33724);
|
||||
@@ -447,6 +447,9 @@ struct boss_razorscale : public BossAI
|
||||
}
|
||||
|
||||
summons.DespawnAll();
|
||||
// the home flight starts before Reset() restores this, and her home position is in the air,
|
||||
// so without the flag the destination gets clamped down to the arena floor
|
||||
me->SetDisableGravity(true);
|
||||
_EnterEvadeMode();
|
||||
HandleMusic(false);
|
||||
}
|
||||
@@ -639,6 +642,7 @@ struct npc_expedition_commander : public ScriptedAI
|
||||
case ACTION_START_PERMA_GROUND:
|
||||
_started = false;
|
||||
_events.Reset();
|
||||
StopControllers();
|
||||
DestroyHarpoons();
|
||||
break;
|
||||
case ACTION_DESTROY_HARPOONS:
|
||||
|
||||
Reference in New Issue
Block a user