fix(DB/object): skull piles despawning on quest Speaking with Nezzliok (#7202)

This commit is contained in:
Asthalor
2021-08-07 14:17:37 +02:00
committed by GitHub
parent d3d6d0be12
commit 49fcccb25e

View File

@@ -0,0 +1,13 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1627896958983750100');
-- Change the spawn to 1 second from 15 minutes
UPDATE `gameobject` SET `spawntimesecs` = 1 WHERE `guid` IN (9986, 10135, 10030);
UPDATE `gameobject_template` SET `size` = 1 WHERE `entry` IN (2891, 2892, 2893);
-- Add 3 piles of bones generic so when they despawn is not noticed
DELETE FROM `gameobject` WHERE (`id` = 177604) AND (`guid` IN (100507, 100508, 100509));
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
(100507, 177604, 0, 0, 0, 1, 1,-12544.0, -723.063, 40.4432, 3.14159, 0, 0, 0, 0, 0, 0, 0, '', 0), -- Balia'mah Trophy Skulls
(100508, 177604, 0, 0, 0, 1, 1,-12705.1, -472.833, 30.2692, 3.14159, 0, 0, 0, 0, 0, 0, 0, '', 0), -- Ziata'jai Trophy Skulls
(100509, 177604, 0, 0, 0, 1, 1,-12850.8, -819.736, 54.8824, 3.14159, 0, 0, 0, 0, 0, 0, 0, '', 0); -- Zul'Mamwe Trophy Skulls