From 928e1456949d1e0a56c70f530f22fc6f2929bd90 Mon Sep 17 00:00:00 2001 From: sogladev Date: Wed, 12 Nov 2025 08:39:42 +0100 Subject: [PATCH] fix(Scripts/Northrend): ensure Drakuru stays in place during Betrayal (#23619) --- data/sql/updates/pending_db_world/rev_1762858687829174847.sql | 3 +++ src/server/scripts/Northrend/zone_zuldrak.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 data/sql/updates/pending_db_world/rev_1762858687829174847.sql diff --git a/data/sql/updates/pending_db_world/rev_1762858687829174847.sql b/data/sql/updates/pending_db_world/rev_1762858687829174847.sql new file mode 100644 index 000000000..614961a13 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1762858687829174847.sql @@ -0,0 +1,3 @@ +-- +-- remove `DISABLE_MOVE` +UPDATE `creature_template` SET `unit_flags` = `unit_flags` & ~4 WHERE (`entry` = 28998); diff --git a/src/server/scripts/Northrend/zone_zuldrak.cpp b/src/server/scripts/Northrend/zone_zuldrak.cpp index 8dbca6a78..e168ebbdb 100644 --- a/src/server/scripts/Northrend/zone_zuldrak.cpp +++ b/src/server/scripts/Northrend/zone_zuldrak.cpp @@ -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