From 96a659c688c673193fc20a6e413f199c40cc27ae Mon Sep 17 00:00:00 2001 From: Asthalor <87535580+Asthalor@users.noreply.github.com> Date: Fri, 6 Aug 2021 10:13:19 +0200 Subject: [PATCH] fix(DB/Creature): Olm The Wise multiple spawns (#7169) --- .../pending_db_world/rev_1627568726175425000.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1627568726175425000.sql diff --git a/data/sql/updates/pending_db_world/rev_1627568726175425000.sql b/data/sql/updates/pending_db_world/rev_1627568726175425000.sql new file mode 100644 index 000000000..7f45aef13 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1627568726175425000.sql @@ -0,0 +1,15 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1627568726175425000'); + +-- Changed the spawn time from 2h45 to 24h +UPDATE `creature` SET `spawntimesecs` = 86400 WHERE (`id` = 14343) AND (`guid` IN (51897, 301303, 301304)); + +-- Added his 3 spawn points to the pool creature and added those 3 to a common pool template (365), with a max of 1 spawn at the same time +DELETE FROM `pool_template` WHERE `entry` = 365; + +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES (365, 1, "Olm the Wise Spawns"); + +DELETE FROM `pool_creature` WHERE `guid` IN (51897, 301303, 301304); +INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(51897, 365, 0, "Olm the Wise Spawn 1"), +(301303, 365, 0, "Olm the Wise Spawn 2"), +(301304, 365, 0, "Olm the Wise Spawn 3");