From c27b2391e14c77c8b79efeafd16e914d21b4d5a3 Mon Sep 17 00:00:00 2001 From: All <44707108+zxcnxc@users.noreply.github.com> Date: Wed, 1 Sep 2021 19:28:44 +0700 Subject: [PATCH] fix(DB/Creature): change respawn timer and add movement to The Husk (#7605) Change respawn from 20 hours to 32 hours Add random movement --- .../updates/pending_db_world/rev_1630158070330132264.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1630158070330132264.sql diff --git a/data/sql/updates/pending_db_world/rev_1630158070330132264.sql b/data/sql/updates/pending_db_world/rev_1630158070330132264.sql new file mode 100644 index 000000000..fc3726ece --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1630158070330132264.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1630158070330132264'); + +-- Added movement for The Husk +DELETE FROM `creature` WHERE (`id` = 1851) AND (`guid` IN (53933)); +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 +(53933, 1851, 0, 0, 0, 1, 1, 0, 0, 2325.76, -2255.95, 47.0159, 1.90398, 72000, 5, 0, 4370, 0, 1, 0, 0, 0, '', 0); + +-- Set The Husk respawn to 32 hours +UPDATE `creature` SET `spawntimesecs` = 115200 WHERE `id` = 1851 AND `guid` = 53933;