Fixes in Felwood (#819)

- phasing the tree spirit Ancients related to the hunter's Ancient Leaf quest
- fix Withered Protector pathing and spawn location
This commit is contained in:
Grimfeather
2025-10-20 07:11:07 +02:00
committed by GitHub
parent e65d00bb1d
commit 71eaf3c6c0
3 changed files with 122 additions and 8 deletions

View File

@@ -140,3 +140,106 @@ INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Lan
-- Ragepaw, fix movement
UPDATE `creature` SET `MovementType` = 1, `wander_distance` = 5 WHERE `id1` = 14342;
-- fix Irontree Wood Ancients
SET @IPPPHASE := 65536;
DELETE FROM `creature` WHERE `id1` IN (14524, 14525, 14526);
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
(1976191, 14524, 0, 0, 1, 0, 0, 1, @IPPPHASE, 0, 6194.55, -1176.35, 369.056, 1.1098, 600, 0, 0, 3331, 0, 0, 0, 0, 0, '', 0, 0, NULL),
(1976192, 14525, 0, 0, 1, 0, 0, 1, @IPPPHASE, 0, 6197.12, -1135.42, 366.31, 5.28025, 600, 0, 0, 3331, 0, 0, 0, 0, 0, '', 0, 0, NULL),
(1976193, 14526, 0, 0, 1, 0, 0, 1, @IPPPHASE, 0, 6245.91, -1165.98, 366.325, 2.60598, 600, 0, 0, 3331, 0, 0, 0, 0, 0, '', 0, 0, NULL);
-- fix Withered Protector waypoints
DELETE FROM `creature` WHERE `id1` IN (7149);
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
(39489, 7149, 0, 0, 1, 0, 0, 1, 1, 0, 6177, -1322.46, 376.746, 5.71257, 300, 0, 1, 4318, 0, 2, 0, 0, 0, '', 0, 0, NULL);
DELETE FROM `creature_addon` WHERE `guid` IN (39489);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(39489, 394890, 0, 0, 0, 0, 0, NULL);
DELETE FROM `waypoint_data` WHERE `id` IN (394890);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
--
(394890, 1, 6185.15, -1343.8, 376.725, NULL, 0, 0, 0, 100, 0),
(394890, 2, 6200.33, -1366.76, 376.234, NULL, 0, 0, 0, 100, 0),
(394890, 3, 6213.58, -1397.37, 376.786, NULL, 0, 0, 0, 100, 0),
(394890, 4, 6238.82, -1411.68, 372.25, NULL, 0, 0, 0, 100, 0),
(394890, 5, 6282.93, -1406.55, 370.638, NULL, 0, 0, 0, 100, 0),
(394890, 6, 6308.93, -1406.51, 370.295, NULL, 0, 0, 0, 100, 0),
(394890, 7, 6357.76, -1402.54, 370.945, NULL, 0, 0, 0, 100, 0),
(394890, 8, 6384.76, -1391.93, 373.277, NULL, 0, 0, 0, 100, 0),
(394890, 9, 6400.03, -1363.85, 375.462, NULL, 0, 0, 0, 100, 0),
(394890, 10, 6408.86, -1339.61, 376.621, NULL, 0, 0, 0, 100, 0),
(394890, 11, 6412.35, -1313.64, 379.794, NULL, 0, 0, 0, 100, 0),
(394890, 12, 6401.01, -1279.11, 379.081, NULL, 0, 0, 0, 100, 0),
(394890, 13, 6423.06, -1268.15, 381.728, NULL, 0, 0, 0, 100, 0),
(394890, 14, 6434.93, -1250.84, 385.469, NULL, 0, 0, 0, 100, 0),
(394890, 15, 6442.63, -1225.7, 390.61, NULL, 0, 0, 0, 100, 0),
(394890, 16, 6436.44, -1204.09, 392.225, NULL, 0, 0, 0, 100, 0),
(394890, 17, 6417.1, -1190.06, 389.608, NULL, 0, 0, 0, 100, 0),
(394890, 18, 6398.51, -1175.39, 387.424, NULL, 0, 0, 0, 100, 0),
(394890, 19, 6371.36, -1160.43, 382.567, NULL, 0, 0, 0, 100, 0),
(394890, 20, 6341.42, -1165.91, 375.961, NULL, 0, 0, 0, 100, 0),
(394890, 21, 6309.84, -1170.13, 371.677, NULL, 0, 0, 0, 100, 0),
(394890, 22, 6292.18, -1151.85, 371.909, NULL, 0, 0, 0, 100, 0),
(394890, 23, 6275.61, -1129.28, 370.882, NULL, 0, 0, 0, 100, 0),
(394890, 24, 6268.55, -1107.78, 371.973, NULL, 0, 0, 0, 100, 0),
(394890, 25, 6255.55, -1078.33, 374.156, NULL, 0, 0, 0, 100, 0),
(394890, 26, 6235.98, -1054.85, 380.147, NULL, 0, 0, 0, 100, 0),
(394890, 27, 6208.46, -1035.83, 386.205, NULL, 0, 0, 0, 100, 0),
(394890, 28, 6181.56, -1042.82, 385.763, NULL, 0, 0, 0, 100, 0),
(394890, 29, 6160.69, -1056.06, 385.035, NULL, 0, 0, 0, 100, 0),
(394890, 30, 6151.48, -1069.31, 386.8, NULL, 0, 0, 0, 100, 0),
(394890, 31, 6137.64, -1090.03, 378.23, NULL, 0, 0, 0, 100, 0),
(394890, 32, 6124.49, -1103.05, 378.807, NULL, 0, 0, 0, 100, 0),
(394890, 33, 6101.35, -1113.09, 381.406, NULL, 0, 0, 0, 100, 0),
(394890, 34, 6079.77, -1119.24, 383.916, NULL, 0, 0, 0, 100, 0),
(394890, 35, 6047.43, -1141.62, 380.805, NULL, 0, 0, 0, 100, 0),
(394890, 36, 6022.5, -1147.51, 380.638, NULL, 0, 0, 0, 100, 0),
(394890, 37, 6000.33, -1154.68, 382.455, NULL, 0, 0, 0, 100, 0),
(394890, 38, 5998.6, -1180.63, 377.405, NULL, 0, 0, 0, 100, 0),
(394890, 39, 6012.38, -1203.89, 375.345, NULL, 0, 0, 0, 100, 0),
(394890, 40, 5998.61, -1180.64, 377.405, NULL, 0, 0, 0, 100, 0),
(394890, 41, 6000.31, -1154.69, 382.554, NULL, 0, 0, 0, 100, 0),
(394890, 42, 6022.5, -1147.51, 380.638, NULL, 0, 0, 0, 100, 0),
(394890, 43, 6047.43, -1141.62, 380.805, NULL, 0, 0, 0, 100, 0),
(394890, 44, 6079.77, -1119.24, 383.916, NULL, 0, 0, 0, 100, 0),
(394890, 45, 6101.35, -1113.09, 381.406, NULL, 0, 0, 0, 100, 0),
(394890, 46, 6124.49, -1103.05, 378.807, NULL, 0, 0, 0, 100, 0),
(394890, 47, 6137.64, -1090.03, 378.23, NULL, 0, 0, 0, 100, 0),
(394890, 48, 6151.48, -1069.31, 386.8, NULL, 0, 0, 0, 100, 0),
(394890, 49, 6160.62, -1056.18, 385.022, NULL, 0, 0, 0, 100, 0),
(394890, 50, 6181.56, -1042.82, 385.763, NULL, 0, 0, 0, 100, 0),
(394890, 51, 6208.46, -1035.83, 386.205, NULL, 0, 0, 0, 100, 0),
(394890, 52, 6235.98, -1054.85, 380.147, NULL, 0, 0, 0, 100, 0),
(394890, 53, 6255.55, -1078.33, 374.156, NULL, 0, 0, 0, 100, 0),
(394890, 54, 6268.55, -1107.78, 371.973, NULL, 0, 0, 0, 100, 0),
(394890, 55, 6275.61, -1129.28, 370.882, NULL, 0, 0, 0, 100, 0),
(394890, 56, 6292.18, -1151.85, 371.909, NULL, 0, 0, 0, 100, 0),
(394890, 57, 6309.84, -1170.13, 371.677, NULL, 0, 0, 0, 100, 0),
(394890, 58, 6341.42, -1165.91, 375.961, NULL, 0, 0, 0, 100, 0),
(394890, 59, 6371.3, -1160.39, 382.554, NULL, 0, 0, 0, 100, 0),
(394890, 60, 6398.51, -1175.39, 387.424, NULL, 0, 0, 0, 100, 0),
(394890, 61, 6417.1, -1190.06, 389.608, NULL, 0, 0, 0, 100, 0),
(394890, 62, 6436.44, -1204.09, 392.225, NULL, 0, 0, 0, 100, 0),
(394890, 63, 6442.63, -1225.7, 390.61, NULL, 0, 0, 0, 100, 0),
(394890, 64, 6435, -1250.72, 385.471, NULL, 0, 0, 0, 100, 0),
(394890, 65, 6423.06, -1268.15, 381.728, NULL, 0, 0, 0, 100, 0),
(394890, 66, 6401.01, -1279.11, 379.081, NULL, 0, 0, 0, 100, 0),
(394890, 67, 6412.35, -1313.64, 379.794, NULL, 0, 0, 0, 100, 0),
(394890, 68, 6408.86, -1339.61, 376.621, NULL, 0, 0, 0, 100, 0),
(394890, 69, 6400.03, -1363.85, 375.462, NULL, 0, 0, 0, 100, 0),
(394890, 70, 6384.76, -1391.93, 373.277, NULL, 0, 0, 0, 100, 0),
(394890, 71, 6357.76, -1402.54, 370.945, NULL, 0, 0, 0, 100, 0),
(394890, 72, 6308.93, -1406.51, 370.295, NULL, 0, 0, 0, 100, 0),
(394890, 73, 6282.93, -1406.55, 370.638, NULL, 0, 0, 0, 100, 0),
(394890, 74, 6238.82, -1411.68, 372.25, NULL, 0, 0, 0, 100, 0),
(394890, 75, 6213.58, -1397.37, 376.786, NULL, 0, 0, 0, 100, 0),
(394890, 76, 6200.33, -1366.76, 376.234, NULL, 0, 0, 0, 100, 0),
(394890, 77, 6185.15, -1343.8, 376.725, NULL, 0, 0, 0, 100, 0),
(394890, 78, 6178.72, -1323.57, 376.671, NULL, 0, 0, 0, 100, 0);