fix(Scripts/Northrend): ensure Drakuru stays in place during Betrayal (#23619)

This commit is contained in:
sogladev
2025-11-12 08:39:42 +01:00
committed by GitHub
parent da61b05a82
commit 928e145694
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
--
-- remove `DISABLE_MOVE`
UPDATE `creature_template` SET `unit_flags` = `unit_flags` & ~4 WHERE (`entry` = 28998);

View File

@@ -316,7 +316,7 @@ struct npc_overlord_drakuru_betrayal : public ScriptedAI
{
npc_overlord_drakuru_betrayal(Creature* creature) : ScriptedAI(creature), _summons(me), _state(BETRAYAL_NOT_STARTED)
{
me->SetCombatMovement(false);
me->SetControlled(true, UNIT_STATE_ROOT);
}
void EnterEvadeMode(EvadeReason why) override