From 41239b873aa6a8dd05bdd0b77aacc3da3b475648 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 19 May 2025 18:48:59 +0200 Subject: [PATCH 1/3] Fix a bunch of errors when using Bracket_80_1 ``` ERROR [sql.sql] Table 'creature_loot_template' Entry 23682 isn't creature entry and not referenced from loot, and thus useless. ERROR [sql.sql] Table 'creature_loot_template' Entry 23872 isn't creature entry and not referenced from loot, and thus useless. ERROR [sql.sql] Table 'reference_loot_template' Entry 34060 used by creature_loot_template entry 21214 item 34060 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34062 used by creature_loot_template entry 21212 item 34062 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34051 used by creature_loot_template entry 19044 item 34051 has minCount ( 1 ) != maxCount ( 2 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34039 used by creature_loot_template entry 17257 item 90039 has minCount ( 1 ) != maxCount ( 2 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34059 used by creature_loot_template entry 21215 item 34059 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34056 used by creature_loot_template entry 19622 item 34056 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34067 used by creature_loot_template entry 17842 item 34067 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34068 used by creature_loot_template entry 17968 item 34068 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 30486 used by creature_loot_template entry 11583 item 30486 has minCount ( 1 ) != maxCount ( 2 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34009 used by creature_loot_template entry 11583 item 34009 has minCount ( 1 ) != maxCount ( 2 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34054 used by creature_loot_template entry 19516 item 34054 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 34050 used by creature_loot_template entry 18831 item 34050 has minCount ( 1 ) != maxCount ( 3 ) which is not supported for this loot type. ERROR [sql.sql] Table 'reference_loot_template' Entry 50011 does not exist but it is used by item_loot_template 1 ERROR [sql.sql] Table 'reference_loot_template' Entry 54000 isn't reference id and not referenced from loot, and thus useless. ERROR [sql.sql] Table gossip_menu entry 60041 are using non-existing TextID 60041 ERROR [sql.sql] Table gossip_menu entry 60042 are using non-existing TextID 60042 ERROR [sql.sql] Table gossip_menu entry 60043 are using non-existing TextID 60043 ERROR [sql.sql] Table gossip_menu entry 60044 are using non-existing TextID 60044 ERROR [sql.sql] Table gossip_menu entry 60046 are using non-existing TextID 60046 ERROR [sql.sql] SourceGroup 54003 in `condition` table, does not exist in `creature_loot_template`, ignoring. ERROR [sql.sql] SourceGroup 527000 in `condition` table, does not exist in `reference_loot_template`, ignoring. ERROR [sql.sql] addToGossipMenuItems: GossipMenuId 12580 Item 0 not found ERROR [sql.sql] Not handled grouped condition, SourceGroup 12580 ERROR [sql.sql] SmartAIMgr: Entry 17804 SourceType 0 Event 0 Action 1 using non-existent Text id 0, skipped. ERROR [sql.sql] Creature entry (17804) has SmartAI enabled but no SmartAI entries in the database. ``` --- .../world/progression_70_3_1_unnerf_t4_loot.sql | 6 +++--- .../world/progression_70_3_1_loot_t5_down.sql | 16 +++++++++------- ...progression_70_5_amani_war_bear_loot_down.sql | 4 +++- .../sql/world/progression_1_19_brewfest_down.sql | 2 ++ .../world/progression_1_19_hallows_end_down.sql | 1 + .../world/progression_1_19_love_in_air_down.sql | 2 +- .../sql/world/progression_60_2_1_onyxia_down.sql | 5 ++++- .../progression_60_2_2_nefarian_loot_down.sql | 4 ++-- .../progression_60_2_the_masquerade_down.sql | 6 +++++- .../world/progression_70_1_1_brewfest_down.sql | 1 + .../progression_70_4_1_coren_trinkets_down.sql | 2 ++ ...ession_70_4_1_headless_horseman_loot_down.sql | 2 ++ 12 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 src/Bracket_80_1/sql/world/progression_70_1_1_brewfest_down.sql create mode 100644 src/Bracket_80_1/sql/world/progression_70_4_1_coren_trinkets_down.sql create mode 100644 src/Bracket_80_1/sql/world/progression_70_4_1_headless_horseman_loot_down.sql diff --git a/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql b/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql index 2c368b5c..00a2a5a9 100644 --- a/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql +++ b/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql @@ -10,7 +10,7 @@ INSERT INTO `creature_loot_template` (18831, 28800, 0, 0, 0, 1, 1, 1, 1, 'High King Maulgar - Hammer of the Naaru'), (18831, 28801, 0, 0, 0, 1, 1, 1, 1, 'High King Maulgar - Maulgar\'s Warhelm'), (18831, 29434, 0, 100, 0, 1, 0, 2, 2, 'High King Maulgar - Badge of Justice'), -(18831, 34050, 34050, 100, 0, 1, 1, 1, 3, 'High King Maulgar - (ReferenceTable)'); +(18831, 34050, 34050, 100, 0, 1, 1, 3, 3, 'High King Maulgar - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE `Entry` = 19044; INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES @@ -18,7 +18,7 @@ INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Q (19044, 23884, 0, 0.2, 0, 1, 0, 1, 1, 'Gruul the Dragonkiller - Schematic: Mana Potion Injector'), (19044, 29434, 0, 100, 0, 1, 0, 3, 3, 'Gruul the Dragonkiller - Badge of Justice'), (19044, 31750, 0, 100, 1, 1, 0, 1, 1, 'Gruul the Dragonkiller - Earthen Signet'), -(19044, 34051, 34051, 100, 0, 1, 0, 1, 2, 'Gruul the Dragonkiller - (ReferenceTable)'), +(19044, 34051, 34051, 100, 0, 1, 0, 2, 2, 'Gruul the Dragonkiller - (ReferenceTable)'), (19044, 190039, 34051, 100, 0, 1, 1, 1, 1, 'Gruul the Dragonkiller - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE `Entry` = 17257; @@ -31,4 +31,4 @@ INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Q (17257,34039,34039,100,0,1,1,1,1,'Magtheridon - (ReferenceTable)'), (17257,34845,0,100,0,1,0,1,1,'Magtheridon - Pit Lord\s Satchel'), (17257,34846,0,100,0,1,0,1,1,'Magtheridon - Black Sack of Gems'), -(17257,90039,34039,100,0,1,0,1,2,'Magtheridon - (ReferenceTable)'); +(17257,90039,34039,100,0,1,0,1,1,'Magtheridon - (ReferenceTable)'); diff --git a/src/Bracket_70_6_1/sql/world/progression_70_3_1_loot_t5_down.sql b/src/Bracket_70_6_1/sql/world/progression_70_3_1_loot_t5_down.sql index 09e85e58..1d9ef859 100644 --- a/src/Bracket_70_6_1/sql/world/progression_70_3_1_loot_t5_down.sql +++ b/src/Bracket_70_6_1/sql/world/progression_70_3_1_loot_t5_down.sql @@ -1,26 +1,28 @@ -- DELETE FROM `creature_loot_template` WHERE (`Entry` = 21215) AND (`Item` IN (34059)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21215, 34059, 34059, 100, 0, 1, 0, 1, 3, 'Leotheras the Blind - (ReferenceTable)'); +(21215, 34059, 34059, 100, 0, 1, 0, 3, 3, 'Leotheras the Blind - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 21214) AND (`Item` IN (34060)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21214, 34060, 34060, 100, 0, 1, 0, 1, 3, 'Fathom-Lord Karathress - (ReferenceTable)'); +(21214, 34060, 34060, 100, 0, 1, 0, 3, 3, 'Fathom-Lord Karathress - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 21212) AND (`Item` IN (34062)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21212, 34062, 34062, 100, 0, 1, 3, 1, 3, 'Lady Vashj - (ReferenceTable)'); +(21212, 34062, 34062, 100, 0, 1, 3, 3, 3, 'Lady Vashj - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 19516) AND (`Item` IN (34054)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(19516, 34054, 34054, 100, 0, 1, 0, 1, 3, 'Void Reaver - (ReferenceTable)'); +(19516, 34054, 34054, 100, 0, 1, 0, 3, 3, 'Void Reaver - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 19622) AND (`Item` IN (34056)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(19622, 34056, 34056, 100, 0, 1, 3, 1, 3, 'Kael\'thas Sunstrider - (ReferenceTable)'); +(19622, 34056, 34056, 100, 0, 1, 3, 3, 3, 'Kael\'thas Sunstrider - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 17842) AND (`Item` IN (34067)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (17842, 34067, 34067, 100, 0, 1, 1, 1, 3, 'Azgalor - (ReferenceTable)'); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(17842, 34067, 34067, 100, 0, 1, 1, 3, 3, 'Azgalor - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 17968) AND (`Item` IN (34068)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (17968, 34068, 34068, 100, 0, 1, 0, 1, 3, 'Archimonde - (ReferenceTable)'); \ No newline at end of file +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(17968, 34068, 34068, 100, 0, 1, 0, 3, 3, 'Archimonde - (ReferenceTable)'); diff --git a/src/Bracket_71_74/sql/world/progression_70_5_amani_war_bear_loot_down.sql b/src/Bracket_71_74/sql/world/progression_70_5_amani_war_bear_loot_down.sql index 38ba72fb..659f281a 100644 --- a/src/Bracket_71_74/sql/world/progression_70_5_amani_war_bear_loot_down.sql +++ b/src/Bracket_71_74/sql/world/progression_70_5_amani_war_bear_loot_down.sql @@ -11,7 +11,9 @@ DELETE FROM `reference_loot_template` WHERE (`Entry` = @REFIDFOUR) AND (`Item` = UPDATE `conditions` SET `ElseGroup` = 1 WHERE (`SourceTypeOrReferenceId` = 10) AND (`SourceGroup` = @REFIDTHREE) AND (`ConditionTypeOrReference` = 13) AND (`ConditionValue2` = 3); -DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 10) AND (`SourceGroup` IN (@REFIDTHREE, @REFIDFOUR)) AND (`ConditionTypeOrReference` = 13) AND (`ConditionValue1` = 8) AND (`ConditionValue2` = 4); +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 10) AND (`SourceGroup` = @REFIDFOUR) AND (`ConditionTypeOrReference` = 13) AND (`ConditionValue1` = 17) AND (`ConditionValue2` = 4); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 10) AND (`SourceGroup` = @REFIDTHREE) AND (`ConditionTypeOrReference` = 13) AND (`ConditionValue1` = 8) AND (`ConditionValue2` = 4); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (10, @REFIDTHREE, 33496, 0, 2, 13, 0, 8, 4, 0, 0, 0, 0, '', 'Yield third hostage loot if all hostages have been rescued'), (10, @REFIDTHREE, 33497, 0, 2, 13, 0, 8, 4, 0, 0, 0, 0, '', 'Yield third hostage loot if all hostages have been rescued'), diff --git a/src/Bracket_80_1/sql/world/progression_1_19_brewfest_down.sql b/src/Bracket_80_1/sql/world/progression_1_19_brewfest_down.sql index 64efa54c..9308bc3d 100644 --- a/src/Bracket_80_1/sql/world/progression_1_19_brewfest_down.sql +++ b/src/Bracket_80_1/sql/world/progression_1_19_brewfest_down.sql @@ -1,5 +1,7 @@ UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80 WHERE `entry` IN (23872, 23795, 26776, 26764, 26822); UPDATE `creature_template` SET `lootid` = 23872 WHERE `entry` = 23872; +DELETE FROM `creature_loot_template` WHERE `Entry` = 238720; + DELETE FROM `item_loot_template` WHERE `Entry` = 54535 AND `Item` IN (48663, 49120, 49426); INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES diff --git a/src/Bracket_80_1/sql/world/progression_1_19_hallows_end_down.sql b/src/Bracket_80_1/sql/world/progression_1_19_hallows_end_down.sql index 084f6998..b1265dde 100644 --- a/src/Bracket_80_1/sql/world/progression_1_19_hallows_end_down.sql +++ b/src/Bracket_80_1/sql/world/progression_1_19_hallows_end_down.sql @@ -9,3 +9,4 @@ INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Quest UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80 WHERE `entry` IN (23682, 23775,23694, 23545); UPDATE `creature_template` SET `lootid` = 23682 WHERE `entry` = 23682; +DELETE FROM `creature_loot_template` WHERE `Entry` = 236820; diff --git a/src/Bracket_80_1/sql/world/progression_1_19_love_in_air_down.sql b/src/Bracket_80_1/sql/world/progression_1_19_love_in_air_down.sql index 85444c74..ad4e7aa1 100644 --- a/src/Bracket_80_1/sql/world/progression_1_19_love_in_air_down.sql +++ b/src/Bracket_80_1/sql/world/progression_1_19_love_in_air_down.sql @@ -5,7 +5,7 @@ DELETE FROM `creature` WHERE `guid` IN (3110427, 3110428, 3110429, 3110430, 3110 DELETE FROM `item_loot_template` WHERE `Entry` = 54537; INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(54537,1,50011,15,0,1,0,1,1, 'Heart-Shaped Box - (ReferenceTable)'), +(54537,1,50010,15,0,1,0,1,1, 'Heart-Shaped Box - (ReferenceTable)'), (54537,49426,0,100,0,1,0,2,2,'Heart-Shaped Box - Emblem of Frost'), (54537,49927,0,100,0,1,0,5,10,'Heart-Shaped Box - Love Token'), (54537,50250,0,0.1,0,1,0,1,1,'Heart-Shaped Box - Big Love Rocket'); diff --git a/src/Bracket_80_1/sql/world/progression_60_2_1_onyxia_down.sql b/src/Bracket_80_1/sql/world/progression_60_2_1_onyxia_down.sql index c062ebc3..293b0685 100644 --- a/src/Bracket_80_1/sql/world/progression_60_2_1_onyxia_down.sql +++ b/src/Bracket_80_1/sql/world/progression_60_2_1_onyxia_down.sql @@ -5,7 +5,9 @@ UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80 WHERE `entry` = UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80, `lootid` = 12129, `skinloot` = 12129 WHERE `entry` = 12129; -- Onyxian Warder DELETE FROM `creature_loot_template` WHERE `Entry` = 54003; -DELETE FROM `reference_loot_template` WHERE `Entry` IN (54001, 54002); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 1 AND `SourceGroup` = 54003 AND `SourceEntry` = 21108; + +DELETE FROM `reference_loot_template` WHERE `Entry` IN (54000, 54001); DELETE FROM `disables` WHERE `entry` = 12559 AND `sourceType` = 4; @@ -44,6 +46,7 @@ DELETE FROM `creature_questender` WHERE `quest` IN (7507, 7508, 7509); -- Loreke DELETE FROM `creature_queststarter` WHERE `quest` = 7509; DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14, 15) AND `SourceGroup` = 5747; DELETE FROM `gossip_menu` WHERE `TextId` = 60040 AND `MenuId` = 5747; +DELETE FROM `gossip_menu` WHERE `TextId` IN (60041, 60042, 60043, 60044, 60045, 60046); DELETE FROM `npc_text` WHERE `ID` IN (60040, 60041, 60042, 60043, 60044, 60046); DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (60040, 60041, 60042, 60043, 60044, 60045, 60046); diff --git a/src/Bracket_80_1/sql/world/progression_60_2_2_nefarian_loot_down.sql b/src/Bracket_80_1/sql/world/progression_60_2_2_nefarian_loot_down.sql index 414600cf..06077f5b 100644 --- a/src/Bracket_80_1/sql/world/progression_60_2_2_nefarian_loot_down.sql +++ b/src/Bracket_80_1/sql/world/progression_60_2_2_nefarian_loot_down.sql @@ -12,10 +12,10 @@ INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Q (11583, 30172, 30172, 100.0, 0, 1, 0, 1, 1), (11583, 30173, 30173, 100.0, 0, 1, 0, 1, 1), (11583, 30330, 30330, 0.05, 0, 1, 0, 1, 1), -(11583, 30486, 30486, 100.0, 0, 1, 0, 1, 2), +(11583, 30486, 30486, 100.0, 0, 1, 0, 2, 2), (11583, 30487, 30487, 100.0, 0, 1, 0, 1, 1), (11583, 30551, 30551, 100.0, 0, 1, 0, 1, 1), -(11583, 34009, 34009, 100.0, 0, 1, 0, 1, 2); +(11583, 34009, 34009, 100.0, 0, 1, 0, 2, 2); DELETE FROM `reference_loot_template` WHERE `Entry` IN (34009, 30105, 30044, 30089, 30172, 30173, 30330, 30486, 30487, 30551, 30171); INSERT INTO `reference_loot_template`(`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES diff --git a/src/Bracket_80_1/sql/world/progression_60_2_the_masquerade_down.sql b/src/Bracket_80_1/sql/world/progression_60_2_the_masquerade_down.sql index ed32cd61..b58295f4 100644 --- a/src/Bracket_80_1/sql/world/progression_60_2_the_masquerade_down.sql +++ b/src/Bracket_80_1/sql/world/progression_60_2_the_masquerade_down.sql @@ -37,10 +37,12 @@ UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` IN (9022, 9679); DELETE FROM `gossip_menu` WHERE `MenuID` = 12580 AND `TextID` = 5633; -UPDATE `creature_template` SET `gossip_menu_id` = 12580 WHERE `entry` = 12580; +UPDATE `creature_template` SET `gossip_menu_id` = 0 WHERE `entry` = 12580; DELETE FROM `gossip_menu_option` WHERE `MenuID` = 12580; +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` = 12580) AND (`SourceEntry` = 0) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 9) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 6403) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0); + SET @ENTRY := 12580; DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY; @@ -67,6 +69,8 @@ DELETE FROM `creature_questender` WHERE `quest` = 6402 AND `id` = 12580; DELETE FROM `gossip_menu_option` WHERE `MenuID` = 7480; DELETE FROM `creature_text` WHERE `CreatureID` = 17804; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(17804, 0, 0, '', 15, 0, 100.0, 0, 0, 0, 0, 0, ''); DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 7480; diff --git a/src/Bracket_80_1/sql/world/progression_70_1_1_brewfest_down.sql b/src/Bracket_80_1/sql/world/progression_70_1_1_brewfest_down.sql new file mode 100644 index 00000000..10253264 --- /dev/null +++ b/src/Bracket_80_1/sql/world/progression_70_1_1_brewfest_down.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80 WHERE `entry` IN (23872, 23795, 26776, 26764, 26822); diff --git a/src/Bracket_80_1/sql/world/progression_70_4_1_coren_trinkets_down.sql b/src/Bracket_80_1/sql/world/progression_70_4_1_coren_trinkets_down.sql new file mode 100644 index 00000000..8f1f3b94 --- /dev/null +++ b/src/Bracket_80_1/sql/world/progression_70_4_1_coren_trinkets_down.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `lootid` = 23872 WHERE `entry` = 23872; +DELETE FROM `creature_loot_template` WHERE `Entry` = 238720; diff --git a/src/Bracket_80_1/sql/world/progression_70_4_1_headless_horseman_loot_down.sql b/src/Bracket_80_1/sql/world/progression_70_4_1_headless_horseman_loot_down.sql new file mode 100644 index 00000000..cb057270 --- /dev/null +++ b/src/Bracket_80_1/sql/world/progression_70_4_1_headless_horseman_loot_down.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `lootid` = 23682 WHERE `entry` = 23682; +DELETE FROM `creature_loot_template` WHERE `Entry` = 236820; From 8f7a2e6cdc8080e6fadab4cdeed9aed3bc78ddcf Mon Sep 17 00:00:00 2001 From: = Date: Mon, 19 May 2025 19:22:35 +0200 Subject: [PATCH 2/3] duplicate file in Bracket_70_6_1 --- .../world/progression_70_3_1_loot_t5_down.sql | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/Bracket_80_1/sql/world/progression_70_3_1_loot_t5_down.sql diff --git a/src/Bracket_80_1/sql/world/progression_70_3_1_loot_t5_down.sql b/src/Bracket_80_1/sql/world/progression_70_3_1_loot_t5_down.sql deleted file mode 100644 index ae3991c5..00000000 --- a/src/Bracket_80_1/sql/world/progression_70_3_1_loot_t5_down.sql +++ /dev/null @@ -1,20 +0,0 @@ --- -DELETE FROM `creature_loot_template` WHERE (`Entry` = 21215) AND (`Item` IN (34059)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21215, 34059, 34059, 100, 0, 1, 0, 1, 3, 'Leotheras the Blind - (ReferenceTable)'); - -DELETE FROM `creature_loot_template` WHERE (`Entry` = 21214) AND (`Item` IN (34060)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21214, 34060, 34060, 100, 0, 1, 0, 1, 3, 'Fathom-Lord Karathress - (ReferenceTable)'); - -DELETE FROM `creature_loot_template` WHERE (`Entry` = 21212) AND (`Item` IN (34062)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21212, 34062, 34062, 100, 0, 1, 3, 1, 3, 'Lady Vashj - (ReferenceTable)'); - -DELETE FROM `creature_loot_template` WHERE (`Entry` = 19516) AND (`Item` IN (34054)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(19516, 34054, 34054, 100, 0, 1, 0, 1, 3, 'Void Reaver - (ReferenceTable)'); - -DELETE FROM `creature_loot_template` WHERE (`Entry` = 19622) AND (`Item` IN (34056)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(19622, 34056, 34056, 100, 0, 1, 3, 1, 3, 'Kael\'thas Sunstrider - (ReferenceTable)'); From 6a689f0cfbe42b655cb1710cec92b4459c08e471 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 16 Jun 2025 18:21:58 +0200 Subject: [PATCH 3/3] changes requested by review --- .../sql/world/progression_70_3_1_loot_t5.sql | 16 +++++++++------- .../world/progression_70_3_1_unnerf_t4_loot.sql | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/Bracket_70_3_1/sql/world/progression_70_3_1_loot_t5.sql b/src/Bracket_70_3_1/sql/world/progression_70_3_1_loot_t5.sql index 19be1c0b..61b2a49c 100644 --- a/src/Bracket_70_3_1/sql/world/progression_70_3_1_loot_t5.sql +++ b/src/Bracket_70_3_1/sql/world/progression_70_3_1_loot_t5.sql @@ -1,26 +1,28 @@ -- DELETE FROM `creature_loot_template` WHERE (`Entry` = 21215) AND (`Item` IN (34059)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21215, 34059, 34059, 100, 0, 1, 0, 1, 2, 'Leotheras the Blind - (ReferenceTable)'); +(21215, 34059, 34059, 100, 0, 1, 0, 2, 2, 'Leotheras the Blind - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 21214) AND (`Item` IN (34060)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21214, 34060, 34060, 100, 0, 1, 0, 1, 2, 'Fathom-Lord Karathress - (ReferenceTable)'); +(21214, 34060, 34060, 100, 0, 1, 0, 2, 2, 'Fathom-Lord Karathress - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 21212) AND (`Item` IN (34062)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(21212, 34062, 34062, 100, 0, 1, 3, 1, 2, 'Lady Vashj - (ReferenceTable)'); +(21212, 34062, 34062, 100, 0, 1, 3, 2, 2, 'Lady Vashj - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 19516) AND (`Item` IN (34054)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(19516, 34054, 34054, 100, 0, 1, 0, 1, 2, 'Void Reaver - (ReferenceTable)'); +(19516, 34054, 34054, 100, 0, 1, 0, 2, 2, 'Void Reaver - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 19622) AND (`Item` IN (34056)); INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES -(19622, 34056, 34056, 100, 0, 1, 3, 1, 2, 'Kael\'thas Sunstrider - (ReferenceTable)'); +(19622, 34056, 34056, 100, 0, 1, 3, 2, 2, 'Kael\'thas Sunstrider - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 17842) AND (`Item` IN (34067)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (17842, 34067, 34067, 100, 0, 1, 1, 1, 2, 'Azgalor - (ReferenceTable)'); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(17842, 34067, 34067, 100, 0, 1, 1, 2, 2, 'Azgalor - (ReferenceTable)'); DELETE FROM `creature_loot_template` WHERE (`Entry` = 17968) AND (`Item` IN (34068)); -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (17968, 34068, 34068, 100, 0, 1, 0, 1, 2, 'Archimonde - (ReferenceTable)'); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(17968, 34068, 34068, 100, 0, 1, 0, 2, 2, 'Archimonde - (ReferenceTable)'); diff --git a/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql b/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql index 00a2a5a9..10612acc 100644 --- a/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql +++ b/src/Bracket_70_3_1/sql/world/progression_70_3_1_unnerf_t4_loot.sql @@ -31,4 +31,4 @@ INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Q (17257,34039,34039,100,0,1,1,1,1,'Magtheridon - (ReferenceTable)'), (17257,34845,0,100,0,1,0,1,1,'Magtheridon - Pit Lord\s Satchel'), (17257,34846,0,100,0,1,0,1,1,'Magtheridon - Black Sack of Gems'), -(17257,90039,34039,100,0,1,0,1,1,'Magtheridon - (ReferenceTable)'); +(17257,90039,34039,100,0,1,0,2,2,'Magtheridon - (ReferenceTable)');