Skip to content

Commit 693e205

Browse files
authored
fix(DB/Creature): Add Baron Longshore missing spawnpoints and pool. (azerothcore#25886)
1 parent d7b037f commit 693e205

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
-- Update 15066 spawntime (it must be instant), add two new spawn points and set random in radius.
3+
DELETE FROM `creature` WHERE (`id1` = 3467);
4+
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
5+
(15066, 3467, 0, 0, 1, 0, 0, 1, 1, 1, -1571.79, -3884.28, 16.2173, 3.83286, 1, 5, 0, 356, 0, 1, 0, 0, 0, '67511', 0, 0, NULL),
6+
(15215, 3467, 0, 0, 1, 0, 0, 1, 1, 1, -1748.25, -3721.78, 16.2173, 14.1181, 1, 5, 0, 356, 0, 1, 0, 0, 0, '67511', 0, 0, NULL),
7+
(15217, 3467, 0, 0, 1, 0, 0, 1, 1, 1, -1706.97, -3818.9, 13.1778, 4.88414, 1, 5, 0, 356, 0, 1, 0, 0, 0, '67511', 0, 0, NULL);
8+
9+
-- Delete Baron Longshore Creature Addon
10+
DELETE FROM `creature_addon` WHERE (`guid` IN (15066));
11+
12+
-- Set Baron Longshore template addon.
13+
DELETE FROM `creature_template_addon` WHERE (`entry` = 3467);
14+
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
15+
(3467, 0, 0, 0, 1, 0, 0, '');
16+
17+
-- Set Baron Longshore Pool Template
18+
DELETE FROM `pool_template` WHERE (`entry` IN (144));
19+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
20+
(144, 1, 'Baron Longshore');
21+
22+
-- Link Baron Longshore Spawn Points to Pool Entry.
23+
DELETE FROM `pool_creature` WHERE (`guid` IN (15066, 15215, 15217));
24+
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
25+
(15066, 144, 0, 'Baron Longshore 1'),
26+
(15215, 144, 0, 'Baron Longshore 2'),
27+
(15217, 144, 0, 'Baron Longshore 3');

0 commit comments

Comments
 (0)