Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions src/Bracket_70_3_1/sql/world/progression_70_3_1_loot_t5.sql
Original file line number Diff line number Diff line change
@@ -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)');
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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
(19044, 22903, 0, 0.2, 0, 1, 0, 1, 1, 'Gruul the Dragonkiller - Recipe: Insane Strength Potion'),
(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;
Expand All @@ -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,2,2,'Magtheridon - (ReferenceTable)');
16 changes: 9 additions & 7 deletions src/Bracket_70_6_1/sql/world/progression_70_3_1_loot_t5_down.sql
Original file line number Diff line number Diff line change
@@ -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)');
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)');
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 2 additions & 0 deletions src/Bracket_80_1/sql/world/progression_1_19_brewfest_down.sql
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80 WHERE `entry` IN (23872, 23795, 26776, 26764, 26822);
20 changes: 0 additions & 20 deletions src/Bracket_80_1/sql/world/progression_70_3_1_loot_t5_down.sql

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UPDATE `creature_template` SET `lootid` = 23872 WHERE `entry` = 23872;
DELETE FROM `creature_loot_template` WHERE `Entry` = 238720;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UPDATE `creature_template` SET `lootid` = 23682 WHERE `entry` = 23682;
DELETE FROM `creature_loot_template` WHERE `Entry` = 236820;