From 9e17e13953cda4c2f4f8c10c883cf5608f6a3d9e Mon Sep 17 00:00:00 2001 From: Stifler82 Date: Tue, 9 Mar 2021 23:09:55 +0000 Subject: [PATCH] fix(DB/GameEvent/CreatureSpawns): Hallow's-End-NPCs (#4750) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(DB/GameEvent/CreatureSpawns): Hallow's-End-NPCs * Update rev_1615132077108569700.sql * Update rev_1615132077108569700.sql * Update rev_1615132077108569700.sql Co-authored-by: Your Name Co-authored-by: Stefano Borzì --- .../rev_1615132077108569700.sql | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1615132077108569700.sql diff --git a/data/sql/updates/pending_db_world/rev_1615132077108569700.sql b/data/sql/updates/pending_db_world/rev_1615132077108569700.sql new file mode 100644 index 000000000..6d06995c9 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1615132077108569700.sql @@ -0,0 +1,25 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1615132077108569700'); + +-- Draenei Commoner BloodElf Commoner -- +DELETE FROM `creature` WHERE (`id` = 19171) AND (`guid` IN (91587)); +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 +(91587, 19171, 530, 0, 0, 1, 1, 18842, 1, -3807.906738, -11710.348633, -106.454651, 3.477165, 180, 0, 0, 42, 0, 0, 0, 0, 0, '', 0); + +DELETE FROM `creature` WHERE (`id` = 19171) AND (`guid` IN (91588)); +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 +(91588, 19171, 530, 0, 0, 1, 1, 18842, 1, -3812.004639, -11712.501953, -106.513107, 0.934427, 180, 0, 0, 42, 0, 0, 0, 0, 0, '', 0); + +DELETE FROM `game_event_creature` WHERE (`eventEntry` = 12) AND (`guid` IN (84418,84419,84423,84424,84400,84402,84409,84410,84430,84435,84440,84441)); +INSERT INTO `game_event_creature` VALUES +(12, 84418), +(12, 84419), +(12, 84423), +(12, 84424), +(12, 84400), +(12, 84402), +(12, 84409), +(12, 84410), +(12, 84430), +(12, 84435), +(12, 84440), +(12, 84441);