fix(DB/creature_template-skinning_loot_template): Removed some wrong skinloot template (#18626)

This commit is contained in:
Gabriele Sani 2025-02-06 13:04:15 +01:00 committed by GitHub
parent daf5fbcf8b
commit 176007253d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,14 @@
SET @LOOTTHISTLEBOAR := 1985; -- Skinning loot template for Thistle Boar
SET @LOOTSCORPIDWORKER := 3124; -- Skinning loot template for Scorpid Worker
SET @LIGHTLEATHER := 2318; -- Light Leather
SET @RUINEDSCRAPS := 2934; -- Ruined Leather Scraps
-- Setting skinloot as 0 for creature that should not be skinnable
UPDATE `creature_template` SET `skinloot` = 0 WHERE `entry` IN (1984, 1985, 2032, 3124);
-- Removing now unused skinning loot template to keep the DB cleaned up
DELETE FROM `skinning_loot_template` WHERE `entry` = @LOOTTHISTLEBOAR AND `item` = @LIGHTLEATHER;
DELETE FROM `skinning_loot_template` WHERE `entry` = @LOOTTHISTLEBOAR AND `item` = @RUINEDSCRAPS;
DELETE FROM `skinning_loot_template` WHERE `entry` = @LOOTSCORPIDWORKER AND `item` = @LIGHTLEATHER;
DELETE FROM `skinning_loot_template` WHERE `entry` = @LOOTSCORPIDWORKER AND `item` = @RUINEDSCRAPS;