mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
Fix Chest Pooling in Stranglethorn Vale (#5498)
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1619538084717796794');
|
||||
|
||||
SET
|
||||
@POOL = 11654,
|
||||
@POOLSIZE = 5,
|
||||
@POOLDESC = 'Treasures - Stranglethorn Vale',
|
||||
@RESPAWN = 900,
|
||||
@GUID = '11970,12048,12054,85696,85695,85694,85693,100069,12169,87384,12119,85708,85711,11691,85860,12049';
|
||||
|
||||
-- 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
|
||||
(11970,@POOL,0,@POOLDESC),
|
||||
(12048,@POOL,0,@POOLDESC),
|
||||
(12054,@POOL,0,@POOLDESC),
|
||||
(85696,@POOL,0,@POOLDESC),
|
||||
(85695,@POOL,0,@POOLDESC),
|
||||
(85694,@POOL,0,@POOLDESC),
|
||||
(85693,@POOL,0,@POOLDESC),
|
||||
(100069,@POOL,0,@POOLDESC),
|
||||
(12169,@POOL,0,@POOLDESC),
|
||||
(87384,@POOL,0,@POOLDESC),
|
||||
(12119,@POOL,0,@POOLDESC),
|
||||
(85708,@POOL,0,@POOLDESC),
|
||||
(85711,@POOL,0,@POOLDESC),
|
||||
(11691,@POOL,0,@POOLDESC),
|
||||
(85860,@POOL,0,@POOLDESC),
|
||||
(12049,@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