aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-01 16:40:06 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-01 23:32:14 +0100
commit60ffcbfd2d69469d921cc166c4cdbb6e8a7cb706 (patch)
tree4471c8c812fb773a0773bead54e74014c293819f
parent26e7da1622b217f66d28771836014ca9023efd16 (diff)
DB/Misc: Remove wrong loots and fix some creature level
Closes #24524 (cherry picked from commit a1bd3c1b2e2e532989d16dc8b39018af5721a610)
-rw-r--r--sql/updates/world/master/2022_01_01_42_world_2020_05_01_01_world.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_01_42_world_2020_05_01_01_world.sql b/sql/updates/world/master/2022_01_01_42_world_2020_05_01_01_world.sql
new file mode 100644
index 00000000000..be208e5388e
--- /dev/null
+++ b/sql/updates/world/master/2022_01_01_42_world_2020_05_01_01_world.sql
@@ -0,0 +1,10 @@
+-- Totems and mini-pets shouldn't have loot
+UPDATE `creature_template` SET `lootid` = 0, `skinloot` = 0 WHERE `entry` IN (2992,7484,7543,7560,13916);
+DELETE FROM `creature_loot_template` WHERE `Entry` IN (2992,7484);
+-- minlevel shouldn't be > maxlevel
+-- UPDATE `creature_template` SET `minlevel` = 72, `maxlevel` = 72 WHERE `entry` = 20572;
+-- UPDATE `creature_template` SET `minlevel` = 68, `maxlevel` = 69 WHERE `entry` = 21587;
+-- These NPCs shouldn't have loot
+UPDATE `creature_template` SET `lootid` = 0 WHERE `entry` IN (3680,3891,16836,17079,17080,17917,18201,20627);
+DELETE FROM `creature_loot_template` WHERE `Entry` IN (3680,3891,16836,17079,17080,17917,18201);
+UPDATE `creature_template` SET `mingold` = 0, `maxgold` = 0 WHERE `entry` = 18201;