From 8608a5bc11db0a397a6134d43060d5695e7f5f8c Mon Sep 17 00:00:00 2001 From: Aristoo Date: Sun, 7 Aug 2011 11:51:37 +0200 Subject: DB/Loot: Add missing item to Champion's Cache Commit: fixed wrong file-extension from previous commit --- ...011_08_07_00_world_gameobject_loot_template.sql | 22 ++++++++++++++++++++++ ...011_08_07_00_world_gameobject_loot_template.txt | 22 ---------------------- ...2011_08_07_01_world_reference_loot_template.sql | 5 +++++ 3 files changed, 27 insertions(+), 22 deletions(-) create mode 100644 sql/updates/world/2011_08_07_00_world_gameobject_loot_template.sql delete mode 100644 sql/updates/world/2011_08_07_00_world_gameobject_loot_template.txt create mode 100644 sql/updates/world/2011_08_07_01_world_reference_loot_template.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2011_08_07_00_world_gameobject_loot_template.sql b/sql/updates/world/2011_08_07_00_world_gameobject_loot_template.sql new file mode 100644 index 00000000000..71530b6933a --- /dev/null +++ b/sql/updates/world/2011_08_07_00_world_gameobject_loot_template.sql @@ -0,0 +1,22 @@ +-- Add loot table for Ahune . +SET @REFERENCE := 34349; +CALL`sp_get_ref_id` ('RAID_CRE',@REFERENCE); +CALL `sp_get_go_lootid`(187892,@ENTRY); + +DELETE FROM `reference_loot_template` WHERE `entry` = @ENTRY; +INSERT INTO `reference_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +-- Cloaks. +(@REFERENCE,54805,0,0,1,1,1), -- Cloak of the Frigid Winds +(@REFERENCE,54804,0,0,1,1,1), -- Shroud of Winter's Chill +(@REFERENCE,54803,0,0,1,1,1), -- The Frost Lord's Battle Shroud +(@REFERENCE,54802,0,0,1,1,1), -- The Frost Lord's War Cloak +(@REFERENCE,54801,0,0,1,1,1); -- Icebound Cloak + +-- Add loot table for Ahune . +DELETE FROM `gameobject_loot_template` WHERE `entry`= @ENTRY; +INSERT INTO `gameobject_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +(@ENTRY,1,100,0,1,-@REFERENCE,1), -- Reference +(@ENTRY,35557,28,0,2,1,2), -- Huge Snowball +(@ENTRY,35723,12,0,3,1,1), -- Shards of Ahune +(@ENTRY,35498,3,0,4,1,1), -- Formula: Enchant Weapon - Deathfrost +(@ENTRY,35720,3,0,5,5,6); -- Lord of Frost's Private Label diff --git a/sql/updates/world/2011_08_07_00_world_gameobject_loot_template.txt b/sql/updates/world/2011_08_07_00_world_gameobject_loot_template.txt deleted file mode 100644 index 71530b6933a..00000000000 --- a/sql/updates/world/2011_08_07_00_world_gameobject_loot_template.txt +++ /dev/null @@ -1,22 +0,0 @@ --- Add loot table for Ahune . -SET @REFERENCE := 34349; -CALL`sp_get_ref_id` ('RAID_CRE',@REFERENCE); -CALL `sp_get_go_lootid`(187892,@ENTRY); - -DELETE FROM `reference_loot_template` WHERE `entry` = @ENTRY; -INSERT INTO `reference_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES --- Cloaks. -(@REFERENCE,54805,0,0,1,1,1), -- Cloak of the Frigid Winds -(@REFERENCE,54804,0,0,1,1,1), -- Shroud of Winter's Chill -(@REFERENCE,54803,0,0,1,1,1), -- The Frost Lord's Battle Shroud -(@REFERENCE,54802,0,0,1,1,1), -- The Frost Lord's War Cloak -(@REFERENCE,54801,0,0,1,1,1); -- Icebound Cloak - --- Add loot table for Ahune . -DELETE FROM `gameobject_loot_template` WHERE `entry`= @ENTRY; -INSERT INTO `gameobject_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES -(@ENTRY,1,100,0,1,-@REFERENCE,1), -- Reference -(@ENTRY,35557,28,0,2,1,2), -- Huge Snowball -(@ENTRY,35723,12,0,3,1,1), -- Shards of Ahune -(@ENTRY,35498,3,0,4,1,1), -- Formula: Enchant Weapon - Deathfrost -(@ENTRY,35720,3,0,5,5,6); -- Lord of Frost's Private Label diff --git a/sql/updates/world/2011_08_07_01_world_reference_loot_template.sql b/sql/updates/world/2011_08_07_01_world_reference_loot_template.sql new file mode 100644 index 00000000000..4b48fff1143 --- /dev/null +++ b/sql/updates/world/2011_08_07_01_world_reference_loot_template.sql @@ -0,0 +1,5 @@ +-- Dual-Blade Butcher loot fix +DELETE FROM `reference_loot_template` WHERE `item` IN (47285,47446); +INSERT INTO `reference_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +(34332,47285,0,1,1,1,1), -- normal +(34346,47446,0,1,1,1,1); -- heroic -- cgit v1.2.3