aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZxBiohazardZx <zxbiohazardzx@gmail.com>2012-04-24 10:11:54 +0200
committerZxBiohazardZx <zxbiohazardzx@gmail.com>2012-04-24 10:11:54 +0200
commit396b1ded1a047182c2c3d0244f94ff6baba1d36d (patch)
tree93d1b5fe91727ffd2a284e3779de28300230adc5
parent125efc7dc805aebc9b3c3e7f56ea2f4c2aed109e (diff)
DB/Loot: Fix loot for some Bloodsail creatures, thx Exodius
Closes # 5483
-rw-r--r--sql/updates/world/2012_04_24_05_world_creature_loot_template.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/2012_04_24_05_world_creature_loot_template.sql b/sql/updates/world/2012_04_24_05_world_creature_loot_template.sql
new file mode 100644
index 00000000000..c524999b492
--- /dev/null
+++ b/sql/updates/world/2012_04_24_05_world_creature_loot_template.sql
@@ -0,0 +1,9 @@
+-- Apply same loot template to below mentioned Bloodsail NPCs as that of Bloodsail Raider 1561
+-- (Mage 1562, Swashbuckler 1563, Warlock 1564, Sea Dog 1565)
+UPDATE `creature_template` SET `lootid`=1561 WHERE `entry` IN (1562,1563,1564,1565);
+-- Remove Loot from `creature_loot_template` for above mentioned NPCs because it contains only 2 items.
+-- Those 2 items, along with complete loot template for these mobs is applied in query above.
+DELETE FROM `creature_loot_template` WHERE `entry` IN (1562,1563,1564,1565);
+-- Remove loot and gold drop from Bloodsail Warlock's Minions
+UPDATE `creature_template` SET `lootid`=0, `mingold`=0 AND `maxgold`=0 WHERE `entry` IN (10928,12922);
+DELETE FROM `creature_loot_template` WHERE `entry` IN (10928,12922);