From 5df38cde7e21ebedbadc1e6f17389f8124d93870 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:17:54 +0200 Subject: [PATCH 1/9] Update professions.sql moved code from several sql files here --- sql/world/base/professions.sql | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sql/world/base/professions.sql b/sql/world/base/professions.sql index d979b44..1e551e7 100644 --- a/sql/world/base/professions.sql +++ b/sql/world/base/professions.sql @@ -28,9 +28,17 @@ UPDATE quest_template SET RewardItem3 = 16085, RewardAmount3 = 1 WHERE ID IN (66 UPDATE `item_template` SET `description` = 'Teaches you advanced first aid, allowing a maximum of 300 first aid skill.' WHERE `entry` = 16085; -- TBC First Aid vendors -UPDATE `creature_template` SET `npcflag` = 128 WHERE `entry` IN (18990, 18991); -DELETE FROM `npc_trainer` WHERE `ID` IN (18990, 18991); +UPDATE `creature_template` SET `npcflag` = 128 WHERE `entry` IN (18990, 18991); -- set to vendors, no longer trainers +DELETE FROM `npc_trainer` WHERE `ID` IN (16731, 17214, 17424, 18990, 18991, 19184, 19478, 22477); +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES +(16731, -350000), -- Nus, The Exodar +(17214, -350000), -- Anchorite Fateema, Azuremyst Isle +(17424, -350000), -- Anchorite Paetheus, Bloodmyst Isle +(19184, -350000), -- Mildred Fletcher, Shattrath +(19478, -350000), -- Fera Palerunner, Blades Edge Mountains +(22477, -350000); -- Anchorite Ensham, Terokkar Forest + -- Make Brilliant Glass craft only available once WotLK is reached, to avoid early access to epic TBC gems UPDATE `npc_trainer` SET `ReqLevel` = 71 WHERE `SpellID` = 47280; From ed6b32dec4cb4cb8f92cbc37ec578e2559f77d8a Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:18:54 +0200 Subject: [PATCH 2/9] Delete sql/world/base/zone_the_exodar.sql code moved to professions.sql --- sql/world/base/zone_the_exodar.sql | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 sql/world/base/zone_the_exodar.sql diff --git a/sql/world/base/zone_the_exodar.sql b/sql/world/base/zone_the_exodar.sql deleted file mode 100644 index c267d51..0000000 --- a/sql/world/base/zone_the_exodar.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Nus -DELETE FROM `npc_trainer` WHERE `ID`=16731; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (16731, -350000); From 2cb4976af4bce1136a0faf243863ce649b313615 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:19:14 +0200 Subject: [PATCH 3/9] Delete sql/world/base/zone_blades_edge_mountains.sql code moved to professions.sql --- sql/world/base/zone_blades_edge_mountains.sql | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 sql/world/base/zone_blades_edge_mountains.sql diff --git a/sql/world/base/zone_blades_edge_mountains.sql b/sql/world/base/zone_blades_edge_mountains.sql deleted file mode 100644 index 8a13969..0000000 --- a/sql/world/base/zone_blades_edge_mountains.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Fera Palerunner -DELETE FROM `npc_trainer` WHERE `ID`=19478; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (19478, -350000); From e891cf7640d45d2e2ca257f59825453983ba4581 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:19:45 +0200 Subject: [PATCH 4/9] Delete sql/world/base/zone_terokkar_forest.sql code moved to professions.sql --- sql/world/base/zone_terokkar_forest.sql | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 sql/world/base/zone_terokkar_forest.sql diff --git a/sql/world/base/zone_terokkar_forest.sql b/sql/world/base/zone_terokkar_forest.sql deleted file mode 100644 index 784019f..0000000 --- a/sql/world/base/zone_terokkar_forest.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Anchorite Ensham -DELETE FROM `npc_trainer` WHERE `ID`=22477; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (22477, -350000); From 48de683b85bf9a87693791733c2fa3f4da2ae0f0 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:20:14 +0200 Subject: [PATCH 5/9] Delete sql/world/base/zone_azuremyst_isle.sql code moved to professions.sql --- sql/world/base/zone_azuremyst_isle.sql | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 sql/world/base/zone_azuremyst_isle.sql diff --git a/sql/world/base/zone_azuremyst_isle.sql b/sql/world/base/zone_azuremyst_isle.sql deleted file mode 100644 index a41bd59..0000000 --- a/sql/world/base/zone_azuremyst_isle.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Anchorite Fateema -DELETE FROM `npc_trainer` WHERE `ID`=17214; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (17214, -350000); From 223ddf239ecd941d7d37390aba3a9990627f26ed Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:20:29 +0200 Subject: [PATCH 6/9] Delete sql/world/base/zone_bloodmyst_isle.sql code moved to professions.sql --- sql/world/base/zone_bloodmyst_isle.sql | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 sql/world/base/zone_bloodmyst_isle.sql diff --git a/sql/world/base/zone_bloodmyst_isle.sql b/sql/world/base/zone_bloodmyst_isle.sql deleted file mode 100644 index 2aeaddb..0000000 --- a/sql/world/base/zone_bloodmyst_isle.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Anchorite Paetheus -DELETE FROM `npc_trainer` WHERE `ID`=17424; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (17424, -350000); From a009135c1220a7472021d6573803b203a8feffa1 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:21:30 +0200 Subject: [PATCH 7/9] Update zone_shattrath.sql code moved to professions.sql --- sql/world/base/zone_shattrath.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/world/base/zone_shattrath.sql b/sql/world/base/zone_shattrath.sql index d473f1e..d5d8365 100644 --- a/sql/world/base/zone_shattrath.sql +++ b/sql/world/base/zone_shattrath.sql @@ -2,7 +2,3 @@ DELETE FROM `npc_vendor` WHERE `entry`=18756 AND `item`=38089 AND `ExtendedCost`=0; INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (18756, 0, 38089, 1, 1800, 0, 0); - --- Mildred Fletcher -DELETE FROM `npc_trainer` WHERE `ID`=19184; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (19184, -350000); From 57c0d4b0f0f89f09aed22824b7f7ff0e4d096ff4 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:24:32 +0200 Subject: [PATCH 8/9] Update professions.sql code moved here from zone_eversong_woods.sql --- sql/world/base/professions.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sql/world/base/professions.sql b/sql/world/base/professions.sql index 1e551e7..57639d6 100644 --- a/sql/world/base/professions.sql +++ b/sql/world/base/professions.sql @@ -30,15 +30,16 @@ UPDATE `item_template` SET `description` = 'Teaches you advanced first aid, allo -- TBC First Aid vendors UPDATE `creature_template` SET `npcflag` = 128 WHERE `entry` IN (18990, 18991); -- set to vendors, no longer trainers -DELETE FROM `npc_trainer` WHERE `ID` IN (16731, 17214, 17424, 18990, 18991, 19184, 19478, 22477); +DELETE FROM `npc_trainer` WHERE `ID` IN (16272, 16731, 17214, 17424, 18990, 18991, 19184, 19478, 22477); INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES +(16272, -350000), -- Kanaria, Eversong Woods (16731, -350000), -- Nus, The Exodar (17214, -350000), -- Anchorite Fateema, Azuremyst Isle (17424, -350000), -- Anchorite Paetheus, Bloodmyst Isle (19184, -350000), -- Mildred Fletcher, Shattrath (19478, -350000), -- Fera Palerunner, Blades Edge Mountains (22477, -350000); -- Anchorite Ensham, Terokkar Forest - + -- Make Brilliant Glass craft only available once WotLK is reached, to avoid early access to epic TBC gems UPDATE `npc_trainer` SET `ReqLevel` = 71 WHERE `SpellID` = 47280; From d3ec884a29616414a1113d9c471c7783c380cfdb Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Wed, 14 May 2025 14:25:10 +0200 Subject: [PATCH 9/9] Update zone_eversong_woods.sql code moved to professions.sql --- sql/world/base/zone_eversong_woods.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/world/base/zone_eversong_woods.sql b/sql/world/base/zone_eversong_woods.sql index 3714078..4f48210 100644 --- a/sql/world/base/zone_eversong_woods.sql +++ b/sql/world/base/zone_eversong_woods.sql @@ -9,7 +9,3 @@ INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15283, 8344); DELETE FROM `creature_loot_template` WHERE `Entry`= 15298 AND `Item`=20935; INSERT INTO `creature_loot_template` (Entry, Item, Reference, Chance, QuestRequired, LootMode, GroupId, MinCount, MaxCount, Comment) VALUES (15298, 20935, 0, 80, 1, 1, 0, 1, 1, 'Tainted Arcane Wraith - Tainted Wraith Essence'); - - -- Kanaria - DELETE FROM `npc_trainer` WHERE `ID`=16272; - INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (16272, -350000);