From 41b8170a4063a782e03112fe6c796ff2b1b63b22 Mon Sep 17 00:00:00 2001 From: Azcobu <81782124+Azcobu@users.noreply.github.com> Date: Mon, 5 Jul 2021 20:28:20 +0930 Subject: [PATCH] fix(DB/Creature): remove Civilian flag from Nazzivus Summoners (#6590) --- .../updates/pending_db_world/rev_1624689676324157623.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1624689676324157623.sql diff --git a/data/sql/updates/pending_db_world/rev_1624689676324157623.sql b/data/sql/updates/pending_db_world/rev_1624689676324157623.sql new file mode 100644 index 000000000..45a249492 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1624689676324157623.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1624689676324157623'); + +-- Removes Civilian flag from Nazzivus Summoners +UPDATE `creature_template` SET `flags_extra` = `flags_extra`&~(2) WHERE `entry` = 17524; + +-- Set MovementType to 1 for spawn 86538 to match all other Nazzivus Summoners +DELETE FROM `creature` WHERE `id` = 17524 AND `guid` = 86538; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(86538, 17524, 530, 0, 0, 1, 1, 0, 1, -2481.5, -11259.1, 31.07, 5.3, 534, 5, 0, 273, 0, 1, 0, 0, 0, '', 0);