fix(DB/creature_template-skinning_loot_template): Removed some wrong skinloot template (#18626)
This commit is contained in:
parent
daf5fbcf8b
commit
176007253d
14
data/sql/updates/pending_db_world/fix-issue-15534.sql
Normal file
14
data/sql/updates/pending_db_world/fix-issue-15534.sql
Normal 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;
|
||||
Loading…
x
Reference in New Issue
Block a user