mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
fix(DB/pool_template): Fix Black Lotus in Burning Steppes (#5071)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1617172919168716426');
|
||||
|
||||
-- Remove a double spawn of Black Lotus
|
||||
DELETE FROM `gameobject` WHERE `guid`=65289 AND `id`=176589;
|
||||
|
||||
-- One spawn per zone only
|
||||
SET
|
||||
@POOL = '11653',
|
||||
@POOLSIZE = '1',
|
||||
@POOLDESC = 'Black Lotus - Burning Steppes',
|
||||
@RESPAWN = '3600',
|
||||
@GUID = '20263,20266,20268,20272,20275,20279,20280,20282,20284,20288,20289,20293,20294,20295,20297,20305,20307,33420,65290';
|
||||
|
||||
-- Create pool(s)
|
||||
DELETE FROM `pool_template` WHERE `entry`=@POOL;
|
||||
INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES (@POOL,@POOLSIZE,@POOLDESC);
|
||||
|
||||
-- Add gameobjects to pools
|
||||
DELETE FROM `pool_gameobject` WHERE FIND_IN_SET (`guid`,@GUID);
|
||||
INSERT INTO `pool_gameobject` (`guid`,`pool_entry`,`chance`,`description`) VALUES
|
||||
(20263,@POOL,0,@POOLDESC),
|
||||
(20266,@POOL,0,@POOLDESC),
|
||||
(20268,@POOL,0,@POOLDESC),
|
||||
(20272,@POOL,0,@POOLDESC),
|
||||
(20275,@POOL,0,@POOLDESC),
|
||||
(20279,@POOL,0,@POOLDESC),
|
||||
(20280,@POOL,0,@POOLDESC),
|
||||
(20282,@POOL,0,@POOLDESC),
|
||||
(20284,@POOL,0,@POOLDESC),
|
||||
(20288,@POOL,0,@POOLDESC),
|
||||
(20289,@POOL,0,@POOLDESC),
|
||||
(20293,@POOL,0,@POOLDESC),
|
||||
(20294,@POOL,0,@POOLDESC),
|
||||
(20295,@POOL,0,@POOLDESC),
|
||||
(20297,@POOL,0,@POOLDESC),
|
||||
(20305,@POOL,0,@POOLDESC),
|
||||
(20307,@POOL,0,@POOLDESC),
|
||||
(33420,@POOL,0,@POOLDESC),
|
||||
(65290,@POOL,0,@POOLDESC);
|
||||
|
||||
-- Respawn rates of gameobjects
|
||||
UPDATE `gameobject` SET `spawntimesecs`=@RESPAWN WHERE FIND_IN_SET (`guid`,@GUID);
|
||||
Reference in New Issue
Block a user