aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeppic1 <Teppic1@users.noreply.github.com>2018-02-17 21:06:01 +0100
committerKillyana <morphone1@gmail.com>2018-02-17 21:06:01 +0100
commitd38031715d3f9494bbc07f45f768f2151c9d9cf0 (patch)
treeaf97c8b009dc444893a6cc9e3c7aac3bec6fc63b
parent7e71b4535a0e927ecdee30489e5a3c0b6f247559 (diff)
DB/Loot: Reference template 24068 corrections
Closes #21416
-rw-r--r--sql/updates/world/3.3.5/2018_02_17_00_world_335.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2018_02_17_00_world_335.sql b/sql/updates/world/3.3.5/2018_02_17_00_world_335.sql
new file mode 100644
index 00000000000..4bb884d99b8
--- /dev/null
+++ b/sql/updates/world/3.3.5/2018_02_17_00_world_335.sql
@@ -0,0 +1,14 @@
+--
+-- Remove unique items from reference table 24068
+DELETE FROM `reference_loot_template` WHERE `Entry`=24068 AND `Item` IN (897, 1351, 2015, 2017, 3053, 3336, 4723);
+-- Add former items from reference table 24068 to their proper NPCs
+DELETE FROM `creature_loot_template` WHERE `Item` IN (897, 1351, 2015, 2017, 3053, 3336, 4723);
+INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `Comment`) VALUES
+(206, 897, 0.1, 0, "Nightbane Vile Fang - Madwolf Bracers"),
+(3808, 1351, 0.1, 0, "Forsaken Dark Stalker - Fingerbone Bracers"),
+(570, 2015, 1, 0, "Brain Eater - Black Metal War Axe"),
+(785, 2017, 1, 0, "Skeletal Warder - Glowing Leather Bracers"),
+(2344, 3053, 2.5, 0, "Dun Garok Mountaineer - Humbert's Chestpiece"),
+(2368, 3336, 0.1, 0, "Daggerspine Shorestalker - Flesh Piercer"),
+(2370, 3336, 0.1, 0, "Daggerspine Screamer - Flesh Piercer"),
+(2346, 4723, 2.5, 0, "Dun Garok Priest - Humbert's Pants");