aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-11 17:51:04 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-04 00:59:26 +0100
commit63e1c04b4cbcac5826a84d96eb86ba1987b1d6a8 (patch)
treeca74899d0ffb03fbef11d5f45dcae25dbb1dc1e6
parent9d27de8b80977169db110a49dc9bdcd784300d81 (diff)
DB/Loot: Remove more incorrect items from loot
Closes #24596 (cherry picked from commit a64d5c74522b3ed87e2c30f6b3285ea4cd093530)
-rw-r--r--sql/updates/world/master/2022_01_04_05_world_2020_05_11_02_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_04_05_world_2020_05_11_02_world.sql b/sql/updates/world/master/2022_01_04_05_world_2020_05_11_02_world.sql
new file mode 100644
index 00000000000..912998ac54e
--- /dev/null
+++ b/sql/updates/world/master/2022_01_04_05_world_2020_05_11_02_world.sql
@@ -0,0 +1,7 @@
+-- These shouldn't have loot table
+DELETE FROM `creature_loot_template` WHERE `Entry` IN (7052,7056,7307);
+UPDATE `creature_template` SET `lootid` = 0 WHERE `entry` IN (7052,7056,7307);
+-- Already drops from items or gameobjects
+DELETE FROM `creature_loot_template` WHERE `Reference` = 0 AND `Item` IN (5140,5173,5374,5601,5602,6457,10839,10840,21156,24231,24232,29572,29573,29574,29577,30508,32728,5397,7146);
+DELETE FROM `creature_loot_template` WHERE `Entry` IN (5846,5854) AND (`Reference` = 0 AND `Item` = 10575);
+DELETE FROM `creature_loot_template` WHERE `Entry` NOT IN (2156,2157) AND (`Reference` = 0 AND `Item` = 5568);