From 3de6ee6c8b0b1af7b78af2c9f26ce6e103be3d68 Mon Sep 17 00:00:00 2001 From: Asthalor <87535580+Asthalor@users.noreply.github.com> Date: Thu, 9 Sep 2021 11:49:20 +0200 Subject: [PATCH] fix(DB/Creature): Mist Howler (#7757) --- .../rev_1630953928818908826.sql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1630953928818908826.sql diff --git a/data/sql/updates/pending_db_world/rev_1630953928818908826.sql b/data/sql/updates/pending_db_world/rev_1630953928818908826.sql new file mode 100644 index 000000000..42d4d5426 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1630953928818908826.sql @@ -0,0 +1,21 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1630953928818908826'); + +-- Added 2 new spawns and changed the coords according to sniff +DELETE FROM `creature` WHERE (`id` = 10644); +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 +(32884, 10644, 1, 331, 0, 1, 1, 165, 0, 3528.78, 628.189, 9.04502, 5.20659, 36000, 10, 0, 573, 0, 1, 0, 0, 0, '', 0), +(51885, 10644, 1, 331, 0, 1, 1, 0, 0, 3330.55, 397.033, 3.7174, 0.0612236, 36000, 5, 0, 573, 0, 1, 0, 0, 0, '', 0), +(945802, 10644, 1, 331, 0, 1, 1, 0, 0, 3823.67, 52.756, 10.97, 5.73397, 36000, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(945803, 10644, 1, 331, 0, 1, 1, 0, 0, 3498.51, 416.076, -0.199577, 0.926322, 36000, 10, 0, 1, 0, 1, 0, 0, 0, '', 0); + +-- Add the new spawns to the same spawn pool so he can only be spawned once at a time +DELETE FROM `pool_template` WHERE `entry` = 375; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES (375, 1, "Mist Howler Spawns"); + +DELETE FROM `pool_creature` WHERE `guid` IN (32884, 51885, 945802, 945803); +INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(32884, 375, 0, "Mist Howler Spawn 1"), +(51885, 375, 0, "Mist Howler Spawn 2"), +(945802, 375, 0, "Mist Howler Spawn 3"), +(945803, 375, 0, "Mist Howler Spawn 4"); +