Skip to content

Commit

Permalink
Remove skinning loot from Mother Smolderweb.
Browse files Browse the repository at this point in the history
Closes #2663
  • Loading branch information
ratkosrb committed Jun 17, 2024
1 parent 6399b4a commit ab8b879
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sql/migrations/20240617091421_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
DROP PROCEDURE IF EXISTS add_migration;
DELIMITER ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20240617091421');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20240617091421');
-- Add your query below.


-- Remove skinning loot from Mother Smolderweb.
UPDATE `creature_template` SET `skinning_loot_id`=0 WHERE `entry`=10596;


-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;

0 comments on commit ab8b879

Please sign in to comment.