From 2890a5aba4c67a24d2aa832657b01d823e38f4cb Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Wed, 24 Dec 2025 09:14:56 +0000 Subject: [PATCH 01/13] MIsc DB Fixes --- sql/migrations/20251224091422_world.sql | 113 ++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 sql/migrations/20251224091422_world.sql diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql new file mode 100644 index 00000000000..274a08f1ac9 --- /dev/null +++ b/sql/migrations/20251224091422_world.sql @@ -0,0 +1,113 @@ +DROP PROCEDURE IF EXISTS add_migration; +DELIMITER ?? +CREATE PROCEDURE `add_migration`() +BEGIN +DECLARE v INT DEFAULT 1; +SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20251224091422'); +IF v = 0 THEN +INSERT INTO `migrations` VALUES ('20251224091422'); +-- Add your query below. + + +-- Firetail Scorpid (9697) should share spawn with Giant Ember Worg (9698) +UPDATE `creature` SET `id` = 9697, `id2` = 9698 WHERE `id` IN (9697, 9698); + +-- Ember Worg (9690) should share spawn with Venomtip Scorpid (9691) +UPDATE `creature` SET `id` = 9690, `id2` = 9691 WHERE `id` IN (9690, 9691); + +-- Entropic Beast (9878) should share spawn with Entropic Horror (9879) +UPDATE `creature` SET `id` = 9878, `id2` = 9879 WHERE `id` IN (9878, 9879); + +-- Add Missing Complete Scripts +INSERT INTO `quest_end_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(5218, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6553, 0, 0, 0, 0, 0, 0, 0, 0, 'Felstone Field Cauldron: Scourge Cauldron - Talk'), +(5221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6553, 0, 0, 0, 0, 0, 0, 0, 0, 'Dalson\'s Tears Cauldron: Scourge Cauldron - Talk'), +(5224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6553, 0, 0, 0, 0, 0, 0, 0, 0, 'Writhing Haunt Cauldron: Scourge Cauldron - Talk'), +(5227, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6553, 0, 0, 0, 0, 0, 0, 0, 0, 'Gahrron\'s Withering Cauldron: Scourge Cauldron - Talk'); +UPDATE `quest_template` SET `CompleteScript` = 5218 WHERE `entry` = 5218 AND `patch` = 0; +UPDATE `quest_template` SET `CompleteScript` = 5221 WHERE `entry` = 5221 AND `patch` = 0; +UPDATE `quest_template` SET `CompleteScript` = 5224 WHERE `entry` = 5224 AND `patch` = 0; +UPDATE `quest_template` SET `CompleteScript` = 5227 WHERE `entry` = 5227 AND `patch` = 0; + +-- The Shadow Guard (9213) and The Ice Guard (9211) Require Argent Dawn Honored +UPDATE `quest_template` SET `RequiredMinRepFaction` = 529, `RequiredMinRepValue` = 9000 WHERE `entry` IN (9211, 9213); + +-- Fix Console Errors +UPDATE `creature` SET `mana_percent` = 100 WHERE `guid` IN (17021, 17018, 17017, 17013, 17010, 17004); + +-- Pool Some Rich Thorium in Burning Steppes +SET @PTEMPLATE = 3589; + +-- Misc +DELETE FROM `pool_pool` WHERE `pool_id` IN (21436, 21441, 21437, 21416); +UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Misc' WHERE `entry` IN (21436, 21441, 21437, 21416); +UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Misc' WHERE `pool_entry` IN (21436, 21441, 21437, 21416); +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES +(@PTEMPLATE+1, 1, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); +INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES +(21436, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21441, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21437, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21416, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); + +-- Ruins of Thaurissian +DELETE FROM `pool_pool` WHERE `pool_id` IN (21438, 21433, 21435, 21432, 21440); +UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Ruins of Thaurissian' WHERE `entry` IN (21438, 21433, 21435, 21432, 21440); +UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Ruins of Thaurissian' WHERE `pool_entry` IN (21438, 21433, 21435, 21432, 21440); +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES +(@PTEMPLATE+2, 1, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); +INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES +(21438, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21433, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21435, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21432, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21440, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); + +-- Blackrock Stronghold +DELETE FROM `pool_pool` WHERE `pool_id` IN (21434, 21431, 21429, 21430, 21439); +UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Blackrock Stronghold' WHERE `entry` IN (21434, 21431, 21429, 21430, 21439); +UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Blackrock Stronghold' WHERE `pool_entry` IN (21434, 21431, 21429, 21430, 21439); +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES +(@PTEMPLATE+3, 1, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); +INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES +(21434, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21431, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21429, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21430, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21439, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); + +-- Draco\'dar +DELETE FROM `pool_pool` WHERE `pool_id` IN (21427, 21418, 21423, 21426, 21428); +UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Draco\'dar' WHERE `entry` IN (21427, 21418, 21423, 21426, 21428); +UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Draco\'dar' WHERE `pool_entry` IN (21427, 21418, 21423, 21426, 21428); +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES +(@PTEMPLATE+4, 1, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); +INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES +(21427, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21418, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21423, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21426, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21428, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); + +-- Pillar of Ash +DELETE FROM `pool_pool` WHERE `pool_id` IN (21417, 21425, 21420, 21419, 21421); +UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Pillar of Ash' WHERE `entry` IN (21417, 21425, 21420, 21419, 21421); +UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Pillar of Ash' WHERE `pool_entry` IN (21417, 21425, 21420, 21419, 21421); +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES +(@PTEMPLATE+5, 1, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); +INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES +(21417, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21425, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21420, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21419, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), +(21421, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); + +DELETE FROM `pool_template` WHERE `entry` = 1297; + + +-- End of migration. +END IF; +END?? +DELIMITER ; +CALL add_migration(); +DROP PROCEDURE IF EXISTS add_migration; From ac1bf65fdf8efd6a7fd67ae0c788c2de7a8e46bf Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Wed, 24 Dec 2025 09:30:46 +0000 Subject: [PATCH 02/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 274a08f1ac9..2619ef1a658 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -104,6 +104,10 @@ INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `fla DELETE FROM `pool_template` WHERE `entry` = 1297; +-- Correct Patch for Attunement to the Core +UPDATE `creature_questrelation` SET `patch_max` = 2 WHERE `id` = 14387 AND `quest` = 7487; +UPDATE `creature_involvedrelation` SET `patch_max` = 2 WHERE `id` = 14387 AND `quest` = 7487; + -- End of migration. END IF; From a5fb4147acb795dbdd6720d7a9b88d9ddf657184 Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Wed, 24 Dec 2025 16:13:32 +0000 Subject: [PATCH 03/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 2619ef1a658..a836aebdc2d 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -108,6 +108,30 @@ DELETE FROM `pool_template` WHERE `entry` = 1297; UPDATE `creature_questrelation` SET `patch_max` = 2 WHERE `id` = 14387 AND `quest` = 7487; UPDATE `creature_involvedrelation` SET `patch_max` = 2 WHERE `id` = 14387 AND `quest` = 7487; +-- Daphne Stilwell 6182 (credit cmangos) +-- custom made path corrected +UPDATE `creature` SET `position_x` = -11482.304, `position_y` = 1557.4106, `position_z` = 48.70583, `orientation` = 4.26775 WHERE `id` = 6182; +DELETE FROM `creature_movement` WHERE `Id` = 66979; +DELETE FROM `creature_movement_template` WHERE `entry` = 6182; +INSERT INTO `creature_movement_template` (`entry`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `waittime`, `script_id`) VALUES +(6182, 1, -11482.304, 1557.4106, 48.70583, 100, 11000, 0), +(6182, 2, -11476.278, 1557.6038, 48.70583, 100, 0, 0), +(6182, 3, -11470.299, 1559.1139, 48.58083, 100, 2000, 0), +(6182, 4, -11470.382, 1563.5004, 48.58083, 100, 1000, 0), +(6182, 5, -11464.786, 1565.625, 48.846966, 100, 10000, 618201), +(6182, 6, -11465.664, 1567.7332, 48.7971, 100, 0, 0), +(6182, 7, -11465.914, 1569.9832, 48.7971, 100, 0, 0), +(6182, 8, -11465.041, 1570.8412, 48.747234, 100, 0, 0), +(6182, 9, -11465.041, 1570.8412, 48.747234, 6.21337, 10000, 618201), +(6182, 10, -11471.896, 1573.1904, 48.59549, 100, 0, 0), +(6182, 11, -11477.807, 1573.1018, 48.59549, 100, 0, 0), +(6182, 12, -11480.656, 1574.8416, 48.59549, 100, 10000, 618201), +(6182, 13, -11482.617, 1567.7522, 48.59549, 100, 0, 0), +(6182, 14, -11480.854, 1560.6074, 48.58083, 100, 0, 0); +INSERT INTO `creature_movement_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(618201, 1, 0, 1, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Daphne Stilwell - Emote'), +(618201, 8, 0, 1, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Daphne Stilwell - Emote'); + -- End of migration. END IF; From 16b8e836d38e8b64d0cc80a812e9316041fda53a Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Sun, 28 Dec 2025 17:12:58 +0000 Subject: [PATCH 04/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index a836aebdc2d..f6e65c6fb22 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -9,6 +9,9 @@ INSERT INTO `migrations` VALUES ('20251224091422'); -- Add your query below. +-- Arkkoran Muckdweller (6136) should share spawn with Arkkoran Clacker (6135) +UPDATE `creature` SET `id` = 6135, `id2` = 6136 WHERE `id` IN (6135, 6136); + -- Firetail Scorpid (9697) should share spawn with Giant Ember Worg (9698) UPDATE `creature` SET `id` = 9697, `id2` = 9698 WHERE `id` IN (9697, 9698); From 82dced062165373c65051d4cfafa35df4535b7fa Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Mon, 29 Dec 2025 09:10:15 +0000 Subject: [PATCH 05/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index f6e65c6fb22..2288d66c84e 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -9,8 +9,8 @@ INSERT INTO `migrations` VALUES ('20251224091422'); -- Add your query below. --- Arkkoran Muckdweller (6136) should share spawn with Arkkoran Clacker (6135) -UPDATE `creature` SET `id` = 6135, `id2` = 6136 WHERE `id` IN (6135, 6136); +-- Arkkoran Muckdweller (6136) should share spawn with Arkkoran Clacker (6135) Arkkoran Pincer (6137) Arkkoran Oracle (6138) +UPDATE `creature` SET `id` = 6135, `id2` = 6136, `id3` = 6137, `id4` = 6138 WHERE `id` IN (6135, 6136, 6137, 6138); -- Firetail Scorpid (9697) should share spawn with Giant Ember Worg (9698) UPDATE `creature` SET `id` = 9697, `id2` = 9698 WHERE `id` IN (9697, 9698); From b689904ede4703a95a1b812c1de8d7b3c17a3159 Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Mon, 29 Dec 2025 09:31:34 +0000 Subject: [PATCH 06/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 2288d66c84e..77d3cd78db2 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -8,6 +8,17 @@ IF v = 0 THEN INSERT INTO `migrations` VALUES ('20251224091422'); -- Add your query below. +-- Blue Dragonspawn (193) should share spawn with Blue Scalebane (6130) Draconic Mageweaver (6131) +UPDATE `creature` SET `id` = 193, `id2` = 6130, `id3` = 6131 WHERE `id` IN (193, 6130, 6131); + +-- Thunderhead Patriarch (6379) should share spawn with Thunderhead Consort (6380) +UPDATE `creature` SET `id` = 6379, `id2` = 6380 WHERE `id` IN (6379, 6380); + +-- Cliff Breaker (6146) should share spawn with Cliff Thunderer (6147) +UPDATE `creature` SET `id` = 6146, `id2` = 6147 WHERE `id` IN (6146, 6147); + +-- Servant of Arkkoroc (6143) should share spawn with Servant of Arkkoroc (6144) +UPDATE `creature` SET `id` = 6143, `id2` = 6144 WHERE `id` IN (6143, 6144); -- Arkkoran Muckdweller (6136) should share spawn with Arkkoran Clacker (6135) Arkkoran Pincer (6137) Arkkoran Oracle (6138) UPDATE `creature` SET `id` = 6135, `id2` = 6136, `id3` = 6137, `id4` = 6138 WHERE `id` IN (6135, 6136, 6137, 6138); From 7d3d7820a216bdae8eccb4d2705e8854a1543f87 Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Mon, 29 Dec 2025 15:07:25 +0000 Subject: [PATCH 07/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 77d3cd78db2..783a56f9bbd 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -49,6 +49,27 @@ UPDATE `quest_template` SET `RequiredMinRepFaction` = 529, `RequiredMinRepValue` -- Fix Console Errors UPDATE `creature` SET `mana_percent` = 100 WHERE `guid` IN (17021, 17018, 17017, 17013, 17010, 17004); +-- Events list for Devlin Agamand +INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES +(165703, 1657, 0, 1, 0, 100, 3, 180000, 300000, 180000, 300000, 165703, 165704, 0, 'Devlin Agamand - Random Say OOC'); +INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(165703, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 567, 568, 569, 570, 0, 0, 0, 0, 0, 'Devlin Agamand - Random Say OOC'), +(165704, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 571, 572, 573, 0, 0, 0, 0, 0, 0, 'Devlin Agamand - Random Say OOC'); + +-- Events list for Lillith Nefara +UPDATE `creature_template` SET `ai_name` = 'EventAI' WHERE `entry` = 1946; +INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES +(194601, 1946, 0, 4, 0, 100, 0, 0, 0, 0, 0, 194601, 0, 0, 'Lillith Nefara - Say on Aggro'); +INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(194601, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 427, 0, 0, 0, 0, 0, 0, 0, 0, 'Lillith Nefara - Say on Aggro'); + +-- Events list for Caretaker Caice +UPDATE `creature_template` SET `ai_name` = 'EventAI' WHERE `entry` = 2307; +INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES +(230701, 2307, 0, 1, 0, 100, 1, 180000, 300000, 180000, 300000, 230701, 0, 0, 'Caretaker Caice - Random Say OOC'); +INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES +(230701, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 583, 584, 585, 586, 0, 0, 0, 0, 0, 'Caretaker Caice - Random Say OOC'); + -- Pool Some Rich Thorium in Burning Steppes SET @PTEMPLATE = 3589; From a520acf3852b7cdd35e19c5e91d64ac72d07581d Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Mon, 29 Dec 2025 17:18:48 +0000 Subject: [PATCH 08/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 783a56f9bbd..5c50dc5b4be 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -8,6 +8,9 @@ IF v = 0 THEN INSERT INTO `migrations` VALUES ('20251224091422'); -- Add your query below. +-- Remove Duplicate Sharks +DELETE FROM `creature` WHERE `guid` IN (88969, 88979, 88978, 88977, 88976, 88973, 88972, 88971, 88970); + -- Blue Dragonspawn (193) should share spawn with Blue Scalebane (6130) Draconic Mageweaver (6131) UPDATE `creature` SET `id` = 193, `id2` = 6130, `id3` = 6131 WHERE `id` IN (193, 6130, 6131); From 78a22e2d95ff3b081ee62423828f5548da3c081f Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Thu, 1 Jan 2026 09:27:16 +0000 Subject: [PATCH 09/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 5c50dc5b4be..22241ad8e6c 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -170,6 +170,9 @@ INSERT INTO `creature_movement_scripts` (`id`, `delay`, `priority`, `command`, ` (618201, 1, 0, 1, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Daphne Stilwell - Emote'), (618201, 8, 0, 1, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Daphne Stilwell - Emote'); +-- Remove Duplicate Blood of Heroes +DELETE FROM `gameobject` WHERE `guid` = 25371; + -- End of migration. END IF; From 71aec4ab81540fdc7bb81664bcf7fb90e2625ae0 Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Thu, 1 Jan 2026 09:53:50 +0000 Subject: [PATCH 10/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 73 +------------------------ 1 file changed, 1 insertion(+), 72 deletions(-) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 22241ad8e6c..3129f30e3a6 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -8,6 +8,7 @@ IF v = 0 THEN INSERT INTO `migrations` VALUES ('20251224091422'); -- Add your query below. + -- Remove Duplicate Sharks DELETE FROM `creature` WHERE `guid` IN (88969, 88979, 88978, 88977, 88976, 88973, 88972, 88971, 88970); @@ -49,9 +50,6 @@ UPDATE `quest_template` SET `CompleteScript` = 5227 WHERE `entry` = 5227 AND `pa -- The Shadow Guard (9213) and The Ice Guard (9211) Require Argent Dawn Honored UPDATE `quest_template` SET `RequiredMinRepFaction` = 529, `RequiredMinRepValue` = 9000 WHERE `entry` IN (9211, 9213); --- Fix Console Errors -UPDATE `creature` SET `mana_percent` = 100 WHERE `guid` IN (17021, 17018, 17017, 17013, 17010, 17004); - -- Events list for Devlin Agamand INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES (165703, 1657, 0, 1, 0, 100, 3, 180000, 300000, 180000, 300000, 165703, 165704, 0, 'Devlin Agamand - Random Say OOC'); @@ -73,75 +71,6 @@ INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_ty INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (230701, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 583, 584, 585, 586, 0, 0, 0, 0, 0, 'Caretaker Caice - Random Say OOC'); --- Pool Some Rich Thorium in Burning Steppes -SET @PTEMPLATE = 3589; - --- Misc -DELETE FROM `pool_pool` WHERE `pool_id` IN (21436, 21441, 21437, 21416); -UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Misc' WHERE `entry` IN (21436, 21441, 21437, 21416); -UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Misc' WHERE `pool_entry` IN (21436, 21441, 21437, 21416); -INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES -(@PTEMPLATE+1, 1, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); -INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES -(21436, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21441, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21437, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21416, @PTEMPLATE+1, 0, 'Burning Steppes - Misc - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); - --- Ruins of Thaurissian -DELETE FROM `pool_pool` WHERE `pool_id` IN (21438, 21433, 21435, 21432, 21440); -UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Ruins of Thaurissian' WHERE `entry` IN (21438, 21433, 21435, 21432, 21440); -UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Ruins of Thaurissian' WHERE `pool_entry` IN (21438, 21433, 21435, 21432, 21440); -INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES -(@PTEMPLATE+2, 1, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); -INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES -(21438, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21433, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21435, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21432, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21440, @PTEMPLATE+2, 0, 'Burning Steppes - Ruins of Thaurissian - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); - --- Blackrock Stronghold -DELETE FROM `pool_pool` WHERE `pool_id` IN (21434, 21431, 21429, 21430, 21439); -UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Blackrock Stronghold' WHERE `entry` IN (21434, 21431, 21429, 21430, 21439); -UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Blackrock Stronghold' WHERE `pool_entry` IN (21434, 21431, 21429, 21430, 21439); -INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES -(@PTEMPLATE+3, 1, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); -INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES -(21434, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21431, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21429, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21430, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21439, @PTEMPLATE+3, 0, 'Burning Steppes - Blackrock Stronghold - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); - --- Draco\'dar -DELETE FROM `pool_pool` WHERE `pool_id` IN (21427, 21418, 21423, 21426, 21428); -UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Draco\'dar' WHERE `entry` IN (21427, 21418, 21423, 21426, 21428); -UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Draco\'dar' WHERE `pool_entry` IN (21427, 21418, 21423, 21426, 21428); -INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES -(@PTEMPLATE+4, 1, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); -INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES -(21427, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21418, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21423, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21426, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21428, @PTEMPLATE+4, 0, 'Burning Steppes - Draco\'dar - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); - --- Pillar of Ash -DELETE FROM `pool_pool` WHERE `pool_id` IN (21417, 21425, 21420, 21419, 21421); -UPDATE `pool_template` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Pillar of Ash' WHERE `entry` IN (21417, 21425, 21420, 21419, 21421); -UPDATE `pool_gameobject` SET `description` = 'Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein - Burning Steppes - Pillar of Ash' WHERE `pool_entry` IN (21417, 21425, 21420, 21419, 21421); -INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES -(@PTEMPLATE+5, 1, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein (Master Pool)', 0, 0, 0, 10); -INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES -(21417, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21425, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21420, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21419, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0), -(21421, @PTEMPLATE+5, 0, 'Burning Steppes - Pillar of Ash - Truesilver Deposit / Dark Iron Deposit / Rich Thorium Vein', 0); - -DELETE FROM `pool_template` WHERE `entry` = 1297; - -- Correct Patch for Attunement to the Core UPDATE `creature_questrelation` SET `patch_max` = 2 WHERE `id` = 14387 AND `quest` = 7487; UPDATE `creature_involvedrelation` SET `patch_max` = 2 WHERE `id` = 14387 AND `quest` = 7487; From bf4e1c7eb72d1faec445ac1aca399b73b7ed39cd Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Fri, 2 Jan 2026 09:02:13 +0000 Subject: [PATCH 11/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 3129f30e3a6..f1fe063cf24 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -102,6 +102,10 @@ INSERT INTO `creature_movement_scripts` (`id`, `delay`, `priority`, `command`, ` -- Remove Duplicate Blood of Heroes DELETE FROM `gameobject` WHERE `guid` = 25371; +-- Remove Rogue PLaguebloom +DELETE FROM `gameobject` WHERE `guid` = 20108; +DELETE FROM `pool_gameobject` WHERE `guid` = 20108; + -- End of migration. END IF; From c329d8176a3b05e8139878eeab0f0694578174ed Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Thu, 8 Jan 2026 08:30:41 +0000 Subject: [PATCH 12/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index f1fe063cf24..0b4fdc88af9 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -12,6 +12,9 @@ INSERT INTO `migrations` VALUES ('20251224091422'); -- Remove Duplicate Sharks DELETE FROM `creature` WHERE `guid` IN (88969, 88979, 88978, 88977, 88976, 88973, 88972, 88971, 88970); +-- Plaguehound (8597) should share spawn with Noxious Plaguebat (8601) +UPDATE `creature` SET `id` = 8597, `id2` = 8601 WHERE `id` IN (8597, 8601); + -- Blue Dragonspawn (193) should share spawn with Blue Scalebane (6130) Draconic Mageweaver (6131) UPDATE `creature` SET `id` = 193, `id2` = 6130, `id3` = 6131 WHERE `id` IN (193, 6130, 6131); From 4b69f69a2398511d864b76eea08aaca1cb82b2ec Mon Sep 17 00:00:00 2001 From: NickTyrer Date: Thu, 8 Jan 2026 08:35:49 +0000 Subject: [PATCH 13/13] Update 20251224091422_world.sql --- sql/migrations/20251224091422_world.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/migrations/20251224091422_world.sql b/sql/migrations/20251224091422_world.sql index 0b4fdc88af9..f9099b86063 100644 --- a/sql/migrations/20251224091422_world.sql +++ b/sql/migrations/20251224091422_world.sql @@ -12,6 +12,9 @@ INSERT INTO `migrations` VALUES ('20251224091422'); -- Remove Duplicate Sharks DELETE FROM `creature` WHERE `guid` IN (88969, 88979, 88978, 88977, 88976, 88973, 88972, 88971, 88970); +-- Frenzied Plaguehound (8598) should share spawn with Monstrous Plaguebat (8602) +UPDATE `creature` SET `id` = 8598, `id2` = 8602 WHERE `id` IN (8598, 8602); + -- Plaguehound (8597) should share spawn with Noxious Plaguebat (8601) UPDATE `creature` SET `id` = 8597, `id2` = 8601 WHERE `id` IN (8597, 8601);