From bbe1d4bb6d0d76ef9f6b2554f987c28a265ea668 Mon Sep 17 00:00:00 2001 From: Asthalor <87535580+Asthalor@users.noreply.github.com> Date: Fri, 23 Jul 2021 15:07:26 +0200 Subject: [PATCH] fix(DB/Creature): Olm the Wise (rare) missing movement pattern (#7039) --- .../pending_db_world/rev_1626780409112630500.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1626780409112630500.sql diff --git a/data/sql/updates/pending_db_world/rev_1626780409112630500.sql b/data/sql/updates/pending_db_world/rev_1626780409112630500.sql new file mode 100644 index 000000000..05dced999 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1626780409112630500.sql @@ -0,0 +1,11 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1626780409112630500'); + +-- Added movement to the default spawn point he had +UPDATE `creature` SET `wander_distance` = 20, `MovementType` = 1 WHERE (`id` = 14343) AND (`guid` = 51897); + +-- Added 2 more spawn points and movement on them +DELETE FROM `creature` WHERE (`id` = 14343) AND (`guid` IN (301303, 301304)); +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 +(301303, 14343, 1, 0, 0, 1, 1, 0, 0, 6091.22, -1485.77, 438.13, 0.18, 9900, 20, 0, 1, 0, 1, 0, 0, 0, '', 0), +(301304, 14343, 1, 0, 0, 1, 1, 0, 0, 6307.9, -1637.18, 474.611, 0, 9900, 20, 0, 1, 0, 1, 0, 0, 0, '', 0); +