diff --git a/sql/updates/world/3.3.5/2024_10_24_02_world.sql b/sql/updates/world/3.3.5/2024_10_24_02_world.sql new file mode 100644 index 0000000000..ff65af9c8e --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_24_02_world.sql @@ -0,0 +1,111 @@ +-- +SET @CGUID := 147290; +SET @POOLID := 593; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+50; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES +(@CGUID, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2978.1, 6172.02, 60.9706, 5.32325, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+1, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2945.24, 6246.11, 60.975, 6.16101, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+2, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2957.58, 6227.22, 60.7323, 3.94444, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+3, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2926.58, 6281.96, 62.1978, 0.802851, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+4, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2887.59, 6237.46, 77.7758, 3.85718, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+5, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2867.71, 6267.31, 61.747, 4.99164, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+6, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2854.76, 6246.98, 77.7758, 3.35103, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+7, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2905.47, 6216.61, 61.5561, 5.3058, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+8, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2928.38, 6185.37, 62.5468, 1.91986, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+9, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2894.52, 6226.45, 77.7758, 3.64774, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+10, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2902.44, 6158.43, 78.5022, 2.96706, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+11, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2895.37, 6293.76, 61.6635, 4.24115, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+12, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2934.04, 6166.06, 62.0291, 2.00713, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+13, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2819.93, 6311.56, 62.5366, 4.69494, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+14, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2921.87, 6135.71, 78.5082, 5.16617, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+15, 25284, 571, 3537, 4129, 1, 1, 0, 0, 2754.33, 6240.9, 77.7758, 3.1765, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+16, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2704.21, 6040.9, 30.7446, 5.77704, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+17, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2722.75, 6031.68, 30.6742, 2.18166, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+18, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2685.12, 6131.61, 40.0764, 2.53073, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+19, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2689.42, 6110.31, 40.1811, 2.19912, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+20, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2680.27, 6147.35, 40.3715, 5.60251, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+21, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2721.42, 6008.34, 32.7563, 3.80482, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+22, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2650.33, 6111.8, 38.2883, 3.00197, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+23, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2689.25, 6194.8, 54.0332, 3.49066, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+24, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2669.27, 6179.79, 39.3598, 5.65487, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+25, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2656.43, 6220.2, 38.5179, 1.76278, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+26, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2567.77, 6109.05, 54.6977, 3.76991, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+27, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2641.34, 6031.71, 54.2912, 3.26377, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+28, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2625.26, 6095.54, 54.0161, 5.23599, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+29, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2585.7, 6190.79, 39.1659, 3.90954, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+30, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2615.04, 6115.13, 45.4237, 2.49582, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+31, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2634.75, 6034.53, 54.0479, 3.07178, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+32, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2700.17, 6236.87, 39.5734, 6.12611, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+33, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2660.3, 6237.82, 38.3345, 3.90954, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+34, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2671.28, 6169.58, 39.5054, 5.51524, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+35, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2717.3, 6294.58, 61.7433, 1.3439, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+36, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2673.98, 6268.22, 39.8142, 2.63545, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+37, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2629.93, 6118.81, 38.2883, 2.42601, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+38, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2627.62, 6052.65, 54.0331, 6.21337, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+39, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2590.95, 6064.32, 53.932, 0.994838, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+40, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2637.65, 6217.15, 40.1605, 2.19912, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+41, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2677.92, 6199.64, 39.8142, 2.51327, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+42, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2708.72, 6270.94, 47.0079, 3.22886, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+43, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2990.11, 6142.67, 61.5929, 1.27409, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+44, 25284, 571, 3537, 4020, 1, 1, 0, 0, 2979.68, 6128.44, 62.3862, 2.84489, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+45, 35644, 650, 4723, 4723, 3, 1, 0, 0, 702.967, 587.649, 412.475, 0.610865, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+46, 35644, 650, 4723, 4723, 3, 1, 0, 0, 774.898, 573.736, 412.475, 2.14675, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+47, 35644, 650, 4723, 4723, 3, 1, 0, 0, 787.439, 584.969, 412.476, 2.47837, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+48, 35644, 650, 4723, 4723, 3, 1, 0, 0, 712.594, 576.26, 412.476, 0.890118, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+49, 35644, 650, 4723, 4723, 3, 1, 0, 0, 720.57, 571.285, 412.475, 1.06465, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0), +(@CGUID+50, 36558, 650, 4723, 4723, 3, 1, 0, 0, 790.177, 589.059, 412.475, 2.56563, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', NULL, 0); + +-- pool_template +DELETE FROM `pool_template` WHERE `entry`= @POOLID; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@POOLID, 15, 'MASTER Minerals Wintergrasp zone 4197'); + +-- pool_members +DELETE FROM `pool_members` WHERE `type`=2 AND `poolSpawnId`=@POOLID; +INSERT INTO `pool_members` (`type`, `spawnId`, `poolSpawnId`, `chance`, `description`) VALUES +(2, 5617, @POOLID, 0, 'Wintergrasp mineral, node 1'), +(2, 5618, @POOLID, 0, 'Wintergrasp mineral, node 2'), +(2, 5619, @POOLID, 0, 'Wintergrasp mineral, node 3'), +(2, 5620, @POOLID, 0, 'Wintergrasp mineral, node 4'), +(2, 5621, @POOLID, 0, 'Wintergrasp mineral, node 5'), +(2, 5622, @POOLID, 0, 'Wintergrasp mineral, node 6'), +(2, 5623, @POOLID, 0, 'Wintergrasp mineral, node 7'), +(2, 5624, @POOLID, 0, 'Wintergrasp mineral, node 8'), +(2, 5625, @POOLID, 0, 'Wintergrasp mineral, node 9'), +(2, 5626, @POOLID, 0, 'Wintergrasp mineral, node 10'), +(2, 5627, @POOLID, 0, 'Wintergrasp mineral, node 11'), +(2, 5628, @POOLID, 0, 'Wintergrasp mineral, node 12'), +(2, 5629, @POOLID, 0, 'Wintergrasp mineral, node 13'), +(2, 5630, @POOLID, 0, 'Wintergrasp mineral, node 14'), +(2, 5631, @POOLID, 0, 'Wintergrasp mineral, node 15'), +(2, 5632, @POOLID, 0, 'Wintergrasp mineral, node 16'), +(2, 5633, @POOLID, 0, 'Wintergrasp mineral, node 17'), +(2, 5634, @POOLID, 0, 'Wintergrasp mineral, node 18'), +(2, 5635, @POOLID, 0, 'Wintergrasp mineral, node 19'), +(2, 5636, @POOLID, 0, 'Wintergrasp mineral, node 20'), +(2, 5637, @POOLID, 0, 'Wintergrasp mineral, node 21'), +(2, 5638, @POOLID, 0, 'Wintergrasp mineral, node 22'), +(2, 5639, @POOLID, 0, 'Wintergrasp mineral, node 23'), +(2, 5640, @POOLID, 0, 'Wintergrasp mineral, node 24'), +(2, 5641, @POOLID, 0, 'Wintergrasp mineral, node 25'), +(2, 5642, @POOLID, 0, 'Wintergrasp mineral, node 26'), +(2, 5643, @POOLID, 0, 'Wintergrasp mineral, node 27'), +(2, 5644, @POOLID, 0, 'Wintergrasp mineral, node 28'), +(2, 5645, @POOLID, 0, 'Wintergrasp mineral, node 29'), +(2, 5646, @POOLID, 0, 'Wintergrasp mineral, node 30'), +(2, 5647, @POOLID, 0, 'Wintergrasp mineral, node 31'), +(2, 5648, @POOLID, 0, 'Wintergrasp mineral, node 32'), +(2, 5649, @POOLID, 0, 'Wintergrasp mineral, node 33'), +(2, 5650, @POOLID, 0, 'Wintergrasp mineral, node 34'), +(2, 5651, @POOLID, 0, 'Wintergrasp mineral, node 35'), +(2, 5652, @POOLID, 0, 'Wintergrasp mineral, node 36'), +(2, 5653, @POOLID, 0, 'Wintergrasp mineral, node 37'), +(2, 5654, @POOLID, 0, 'Wintergrasp mineral, node 38'), +(2, 5655, @POOLID, 0, 'Wintergrasp mineral, node 39'), +(2, 5656, @POOLID, 0, 'Wintergrasp mineral, node 40'), +(2, 5657, @POOLID, 0, 'Wintergrasp mineral, node 41'), +(2, 5658, @POOLID, 0, 'Wintergrasp mineral, node 42'), +(2, 5659, @POOLID, 0, 'Wintergrasp mineral, node 43'), +(2, 5660, @POOLID, 0, 'Wintergrasp mineral, node 44'), +(2, 5661, @POOLID, 0, 'Wintergrasp mineral, node 45'); diff --git a/sql/updates/world/3.3.5/2024_10_24_03_world.sql b/sql/updates/world/3.3.5/2024_10_24_03_world.sql new file mode 100644 index 0000000000..01f482bae4 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_24_03_world.sql @@ -0,0 +1,192 @@ +-- Jadefire Run, Felwood Replace existing Jadefire spawns with sniffed CreateObject2 and pooling +SET @CGUID := 147341; +SET @POOLID := 908; +-- Remove existing spawns +DELETE FROM `creature` WHERE `guid` IN (40193,40194,40195,40240,40241,40242,40284,40288,40289,40291,40296,40365,40677,40678,40713,40714,40196,40290,40301,40302,40671,40680,40712,40715,40718,40230,40283,40286,40287,40297,40298,40299,40300,40338,40668,40674,40706,40708); +DELETE FROM `creature_addon` WHERE `guid` IN (40193,40194,40195,40240,40241,40242,40284,40288,40289,40291,40296,40365,40677,40678,40713,40714,40196,40290,40301,40302,40671,40680,40712,40715,40718,40230,40283,40286,40287,40297,40298,40299,40300,40338,40668,40674,40706,40708); +DELETE FROM `spawn_group` WHERE `spawnType`=0 AND `spawnId` IN (40193,40194,40195,40240,40241,40242,40284,40288,40289,40291,40296,40365,40677,40678,40713,40714,40196,40290,40301,40302,40671,40680,40712,40715,40718,40230,40283,40286,40287,40297,40298,40299,40300,40338,40668,40674,40706,40708); +DELETE FROM `waypoint_data` WHERE `id` IN (407060); +-- Add new spawns and pooling +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+65; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID AND @CGUID+65; +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`,`ScriptName`,`VerifiedBuild`) VALUES +(@CGUID, 7107, 1, 0, 0, 1, 1, 0, 0, 6597.9893, -937.82446, 473.77335, 0.209439516067504882, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+1, 7108, 1, 0, 0, 1, 1, 0, 0, 6597.9893, -937.82446, 473.77335, 0.209439516067504882, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+2, 7107, 1, 0, 0, 1, 1, 0, 0, 6581.721, -1013.5572, 463.79858, 1.172463178634643554, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+3, 7108, 1, 0, 0, 1, 1, 0, 0, 6581.721, -1013.5572, 463.79858, 1.172463178634643554, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+4, 7107, 1, 0, 0, 1, 1, 0, 0, 6595.478, -964.7803, 472.8459, 3.744056224822998046, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+5, 7108, 1, 0, 0, 1, 1, 0, 0, 6595.478, -964.7803, 472.8459, 3.744056224822998046, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+6, 7107, 1, 0, 0, 1, 1, 0, 0, 6606.426, -912.1112, 473.53186, 2.259292364120483398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+7, 7108, 1, 0, 0, 1, 1, 0, 0, 6606.426, -912.1112, 473.53186, 2.259292364120483398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+8, 7107, 1, 0, 0, 1, 1, 0, 0, 6500.4424, -850.4374, 472.95465, 4.504848957061767578, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+9, 7108, 1, 0, 0, 1, 1, 0, 0, 6500.4424, -850.4374, 472.95465, 4.504848957061767578, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+10, 7107, 1, 0, 0, 1, 1, 0, 0, 6489.674, -784.32434, 473.6464, 0.226892799139022827, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+11, 7108, 1, 0, 0, 1, 1, 0, 0, 6489.674, -784.32434, 473.6464, 0.226892799139022827, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+12, 7107, 1, 0, 0, 1, 1, 0, 0, 6553.232, -841.71313, 473.59003, 0.154711350798606872, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+13, 7108, 1, 0, 0, 1, 1, 0, 0, 6553.232, -841.71313, 473.59003, 0.154711350798606872, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+14, 7107, 1, 0, 0, 1, 1, 0, 0, 6535.845, -834.43854, 474.60547, 4.304278373718261718, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+15, 7108, 1, 0, 0, 1, 1, 0, 0, 6535.845, -834.43854, 474.60547, 4.304278373718261718, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+16, 7107, 1, 0, 0, 1, 1, 0, 0, 6569.074, -806.16907, 475.7942, 0.657858967781066894, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+17, 7108, 1, 0, 0, 1, 1, 0, 0, 6569.074, -806.16907, 475.7942, 0.657858967781066894, 300, 5, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+18, 7107, 1, 0, 0, 1, 1, 0, 0, 6479.3735, -793.56195, 473.90875, 4.374718189239501953, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+19, 7108, 1, 0, 0, 1, 1, 0, 0, 6479.3735, -793.56195, 473.90875, 4.374718189239501953, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+20, 7107, 1, 0, 0, 1, 1, 0, 0, 6581.0884, -804.00696, 474.8405, 3.724053382873535156, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+21, 7108, 1, 0, 0, 1, 1, 0, 0, 6581.0884, -804.00696, 474.8405, 3.724053382873535156, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+22, 7107, 1, 0, 0, 1, 1, 0, 0, 6483.8745, -817.1497, 473.94272, 1.133222579956054687, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+23, 7108, 1, 0, 0, 1, 1, 0, 0, 6483.8745, -817.1497, 473.94272, 1.133222579956054687, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+24, 7107, 1, 0, 0, 1, 1, 0, 0, 6516.1167, -814.5349, 474.74985, 2.449142217636108398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+25, 7108, 1, 0, 0, 1, 1, 0, 0, 6516.1167, -814.5349, 474.74985, 2.449142217636108398, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+26, 7107, 1, 0, 0, 1, 1, 0, 0, 6448.5664, -800.8992, 474.3046, 5.257455348968505859, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+27, 7108, 1, 0, 0, 1, 1, 0, 0, 6448.5664, -800.8992, 474.3046, 5.257455348968505859, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+28, 7107, 1, 0, 0, 1, 1, 0, 0, 6432.1587, -759.84686, 473.15967, 3.224145412445068359, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+29, 7108, 1, 0, 0, 1, 1, 0, 0, 6432.1587, -759.84686, 473.15967, 3.224145412445068359, 300, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(@CGUID+30, 7107, 1, 0, 0, 1, 1, 0, 0, 6414.7876, -782.52045, 471.68338, 4.049969673156738281, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+31, 7108, 1, 0, 0, 1, 1, 0, 0, 6414.7876, -782.52045, 471.68338, 4.049969673156738281, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+32, 7107, 1, 0, 0, 1, 1, 0, 0, 6417.261, -818.1496, 470.33954, 3.518303632736206054, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+33, 7108, 1, 0, 0, 1, 1, 0, 0, 6417.261, -818.1496, 470.33954, 3.518303632736206054, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+34, 7107, 1, 0, 0, 1, 1, 0, 0, 6383.858, -749.6224, 469.33542, 4.047421932220458984, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+35, 7108, 1, 0, 0, 1, 1, 0, 0, 6383.858, -749.6224, 469.33542, 4.047421932220458984, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+36, 7107, 1, 0, 0, 1, 1, 0, 0, 6400.7476, -712.16486, 474.86307, 1.413716673851013183, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+37, 7108, 1, 0, 0, 1, 1, 0, 0, 6400.7476, -712.16486, 474.86307, 1.413716673851013183, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+38, 7107, 1, 0, 0, 1, 1, 0, 0, 6373.806, -699.54706, 476.85983, 2.024573326110839843, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+39, 7108, 1, 0, 0, 1, 1, 0, 0, 6373.806, -699.54706, 476.85983, 2.024573326110839843, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+40, 7107, 1, 0, 0, 1, 1, 0, 0, 6377.0596, -797.05804, 457.78555, 3.528153657913208007, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+41, 7108, 1, 0, 0, 1, 1, 0, 0, 6377.0596, -797.05804, 457.78555, 3.528153657913208007, 300, 15, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+42, 7107, 1, 0, 0, 1, 1, 0, 0, 6410.2524, -725.2984, 473.8544, 4.321902275085449218, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+43, 7108, 1, 0, 0, 1, 1, 0, 0, 6410.2524, -725.2984, 473.8544, 4.321902275085449218, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+44, 7107, 1, 0, 0, 1, 1, 0, 0, 6350.9453, -734.53973, 471.33276, 5.67474365234375, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+45, 7108, 1, 0, 0, 1, 1, 0, 0, 6350.9453, -734.53973, 471.33276, 5.67474365234375, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+46, 7107, 1, 0, 0, 1, 1, 0, 0, 6351.046, -717.2646, 472.2365, 5.79449319839477539, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+47, 7108, 1, 0, 0, 1, 1, 0, 0, 6351.046, -717.2646, 472.2365, 5.79449319839477539, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+48, 7107, 1, 0, 0, 1, 1, 0, 0, 6287.962, -598.7009, 466.59583, 2.396016359329223632, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+49, 7108, 1, 0, 0, 1, 1, 0, 0, 6287.962, -598.7009, 466.59583, 2.396016359329223632, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+50, 7107, 1, 0, 0, 1, 1, 0, 0, 6279.444, -614.3792, 472.5725, 2.256314516067504882, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+51, 7108, 1, 0, 0, 1, 1, 0, 0, 6279.444, -614.3792, 472.5725, 2.256314516067504882, 300, 1, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+52, 7111, 1, 0, 0, 1, 1, 0, 0, 6580.9106, -846.0111, 474.0431, 2.908204555511474609, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+53, 7111, 1, 0, 0, 1, 1, 0, 0, 6546.847, -842.53314, 473.8505, 3.269372463226318359, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+54, 7111, 1, 0, 0, 1, 1, 0, 0, 6479.9087, -786.9245, 474.54443, 3.862565040588378906, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+55, 7111, 1, 0, 0, 1, 1, 0, 0, 6577.2773, -798.1775, 475.03653, 1.438873529434204101, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+56, 7111, 1, 0, 0, 1, 1, 0, 0, 6589.328, -856.6679, 474.59833, 3.874630928039550781, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+57, 7111, 1, 0, 0, 1, 1, 0, 0, 6558.4224, -823.91797, 475.64575, 5.380662918090820312, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+58, 7111, 1, 0, 0, 1, 1, 0, 0, 6409.626, -718.0106, 475.00592, 3.664785385131835937, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+59, 7111, 1, 0, 0, 1, 1, 0, 0, 6342.289, -727.19995, 470.21567, 6.003914833068847656, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+60, 7111, 1, 0, 0, 1, 1, 0, 0, 6302.0747, -757.5039, 468.49915, 5.619960308074951171, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+61, 7111, 1, 0, 0, 1, 1, 0, 0, 6327.2744, -623.5396, 476.49002, 1.379523515701293945, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+62, 7111, 1, 0, 0, 1, 1, 0, 0, 6297.897, -617.827, 471.6025, 2.321287870407104492, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+63, 7111, 1, 0, 0, 1, 1, 0, 0, 6290.3145, -635.4162, 483.368, 5.811946392059326171, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+64, 7111, 1, 0, 0, 1, 1, 0, 0, 6281.056, -651.52264, 489.869, 4.186584949493408203, 300, 2, 0, 1, 0, 1, 0, 0, 0, '', 0), +(@CGUID+65, 10648, 1, 0, 0, 1, 1, 0, 0, 6279.093, -603.6922, 467.83997, 1.442377448081970214, 300, 0, 0, 1, 0, 0, 0, 0, 0, '', 0); + +DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOLID AND @POOLID+25; +INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES +(@POOLID,1,'Jadefire Run, Felwood, Group 1'), +(@POOLID+1,1,'Jadefire Run, Felwood, Group 2'), +(@POOLID+2,1,'Jadefire Run, Felwood, Group 3'), +(@POOLID+3,1,'Jadefire Run, Felwood, Group 4'), +(@POOLID+4,1,'Jadefire Run, Felwood, Group 5'), +(@POOLID+5,1,'Jadefire Run, Felwood, Group 6'), +(@POOLID+6,1,'Jadefire Run, Felwood, Group 7'), +(@POOLID+7,1,'Jadefire Run, Felwood, Group 8'), +(@POOLID+8,1,'Jadefire Run, Felwood, Group 9'), +(@POOLID+9,1,'Jadefire Run, Felwood, Group 10'), +(@POOLID+10,1,'Jadefire Run, Felwood, Group 11'), +(@POOLID+11,1,'Jadefire Run, Felwood, Group 12'), +(@POOLID+12,1,'Jadefire Run, Felwood, Group 13'), +(@POOLID+13,1,'Jadefire Run, Felwood, Group 14'), +(@POOLID+14,1,'Jadefire Run, Felwood, Group 15'), +(@POOLID+15,1,'Jadefire Run, Felwood, Group 16'), +(@POOLID+16,1,'Jadefire Run, Felwood, Group 17'), +(@POOLID+17,1,'Jadefire Run, Felwood, Group 18'), +(@POOLID+18,1,'Jadefire Run, Felwood, Group 19'), +(@POOLID+19,1,'Jadefire Run, Felwood, Group 20'), +(@POOLID+20,1,'Jadefire Run, Felwood, Group 21'), +(@POOLID+21,1,'Jadefire Run, Felwood, Group 22'), +(@POOLID+22,1,'Jadefire Run, Felwood, Group 23'), +(@POOLID+23,1,'Jadefire Run, Felwood, Group 24'), +(@POOLID+24,1,'Jadefire Run, Felwood, Group 25'), +(@POOLID+25,1,'Jadefire Run, Felwood, Group 26'); + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOLID AND @POOLID+25; +INSERT INTO `pool_members` (`type`,`spawnId`,`poolSpawnId`,`chance`,`description`) VALUES +(0,@CGUID,@POOLID,0,'Jadefire Trickster (7107)'), +(0,@CGUID+1,@POOLID,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+2,@POOLID+1,0,'Jadefire Trickster (7107)'), +(0,@CGUID+3,@POOLID+1,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+4,@POOLID+2,0,'Jadefire Trickster (7107)'), +(0,@CGUID+5,@POOLID+2,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+6,@POOLID+3,0,'Jadefire Trickster (7107)'), +(0,@CGUID+7,@POOLID+3,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+8,@POOLID+4,0,'Jadefire Trickster (7107)'), +(0,@CGUID+9,@POOLID+4,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+10,@POOLID+5,0,'Jadefire Trickster (7107)'), +(0,@CGUID+11,@POOLID+5,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+12,@POOLID+6,0,'Jadefire Trickster (7107)'), +(0,@CGUID+13,@POOLID+6,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+14,@POOLID+7,0,'Jadefire Trickster (7107)'), +(0,@CGUID+15,@POOLID+7,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+16,@POOLID+8,0,'Jadefire Trickster (7107)'), +(0,@CGUID+17,@POOLID+8,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+18,@POOLID+9,0,'Jadefire Trickster (7107)'), +(0,@CGUID+19,@POOLID+9,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+20,@POOLID+10,0,'Jadefire Trickster (7107)'), +(0,@CGUID+21,@POOLID+10,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+22,@POOLID+11,0,'Jadefire Trickster (7107)'), +(0,@CGUID+23,@POOLID+11,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+24,@POOLID+12,0,'Jadefire Trickster (7107)'), +(0,@CGUID+25,@POOLID+12,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+26,@POOLID+13,0,'Jadefire Trickster (7107)'), +(0,@CGUID+27,@POOLID+13,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+28,@POOLID+14,0,'Jadefire Trickster (7107)'), +(0,@CGUID+29,@POOLID+14,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+30,@POOLID+15,0,'Jadefire Trickster (7107)'), +(0,@CGUID+31,@POOLID+15,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+32,@POOLID+16,0,'Jadefire Trickster (7107)'), +(0,@CGUID+33,@POOLID+16,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+34,@POOLID+17,0,'Jadefire Trickster (7107)'), +(0,@CGUID+35,@POOLID+17,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+36,@POOLID+18,0,'Jadefire Trickster (7107)'), +(0,@CGUID+37,@POOLID+18,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+38,@POOLID+19,0,'Jadefire Trickster (7107)'), +(0,@CGUID+39,@POOLID+19,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+40,@POOLID+20,0,'Jadefire Trickster (7107)'), +(0,@CGUID+41,@POOLID+20,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+42,@POOLID+21,0,'Jadefire Trickster (7107)'), +(0,@CGUID+43,@POOLID+21,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+44,@POOLID+22,0,'Jadefire Trickster (7107)'), +(0,@CGUID+45,@POOLID+22,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+46,@POOLID+23,0,'Jadefire Trickster (7107)'), +(0,@CGUID+47,@POOLID+23,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+48,@POOLID+24,0,'Jadefire Trickster (7107)'), +(0,@CGUID+49,@POOLID+24,0,'Jadefire Betrayer (7108)'), +(0,@CGUID+50,@POOLID+25,0,'Jadefire Trickster (7107)'), +(0,@CGUID+51,@POOLID+25,0,'Jadefire Betrayer (7108)'); + +-- Pathing for Jadefire Trickster Entry: 7107, Jadefire Betrayer Entry: 7108 +SET @NPC := @CGUID+28; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid` IN (@NPC,@NPC+1); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES +(@NPC,@PATH,0,0,1,0,0, ''),(@NPC+1,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6431.575,-759.89514,473.14578,NULL,0,0,0,100,0), +(@PATH,2,6415.6743,-757.93774,473.14578,NULL,0,0,0,100,0), +(@PATH,3,6399.2617,-760.9202,470.7167,NULL,0,0,0,100,0), +(@PATH,4,6406.117,-791.04846,468.84244,NULL,0,0,0,100,0), +(@PATH,5,6424.424,-803.3945,471.96426,NULL,0,0,0,100,0), +(@PATH,6,6436.6743,-790.0301,473.39835,NULL,0,0,0,100,0), +(@PATH,7,6466.341,-799.6447,474.1249,NULL,0,0,0,100,0), +(@PATH,8,6478.2183,-818.8252,474.33282,NULL,0,0,0,100,0), +(@PATH,9,6496.9536,-828.95374,473.3863,NULL,0,0,0,100,0), +(@PATH,10,6520.4375,-828.62994,473.9445,NULL,0,0,0,100,0), +(@PATH,11,6543.6343,-830.434,474.0695,NULL,0,0,0,100,0), +(@PATH,12,6552.5806,-842.2002,473.697,NULL,0,0,0,100,0), +(@PATH,13,6571.129,-847.305,473.45517,NULL,0,0,0,100,0), +(@PATH,14,6583.8125,-830.9744,474.79904,NULL,0,0,0,100,0), +(@PATH,15,6573.4272,-806.39954,475.57468,NULL,0,0,0,100,0), +(@PATH,16,6558.5117,-795.7527,475.39703,NULL,0,0,0,100,0), +(@PATH,17,6529.44,-795.3073,473.6696,NULL,0,0,0,100,0), +(@PATH,18,6513.4146,-788.9368,474.66885,NULL,0,0,0,100,0), +(@PATH,19,6490.856,-802.297,474.06464,NULL,0,0,0,100,0), +(@PATH,20,6469.944,-795.0282,474.02267,NULL,0,0,0,100,0), +(@PATH,21,6451.1313,-779.17725,474.14835,NULL,0,0,0,100,0);