aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-02 17:47:40 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-02 00:17:13 +0100
commit3be5ade1241eac65089e4a2458603c46a46dbb82 (patch)
tree479e5454ed0797c9838111c2f12c52120f771f64 /sql
parentba8f47c9bf88103107914aefeea8939ea8104cc5 (diff)
DB/Loot: Remove wrong items from Weapon Crates and Armor Crates
Closes #24536 (cherry picked from commit 9f5bafa7c662d39d891126f9c09de6cd654a0342)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_01_01_46_world_2020_05_02_02_world.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_01_46_world_2020_05_02_02_world.sql b/sql/updates/world/master/2022_01_01_46_world_2020_05_02_02_world.sql
new file mode 100644
index 00000000000..d6bff94b106
--- /dev/null
+++ b/sql/updates/world/master/2022_01_01_46_world_2020_05_02_02_world.sql
@@ -0,0 +1,8 @@
+-- Weapon Crates and Armor Crates should contain only weapons and armor
+DELETE FROM `gameobject_loot_template` WHERE
+(`Entry` = 404 AND `GroupId` IN (2,4)) OR
+(`Entry` = 405 AND `GroupId` IN (0,2,4)) OR
+(`Entry` = 441 AND `GroupId` IN (0,2,4)) OR
+(`Entry` = 444 AND `GroupId` IN (2,4)) OR
+(`Entry` = 1618 AND `GroupId` IN (2,4)) OR
+(`Entry` = 1619 AND `GroupId` IN (0,2,4));