[WIP] Jotun SAI "Dragonblight"

-- SAI for Jotun "Dragonblight" Entry: 26290 UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=26290; DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=26290; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (26290,0,0,0,11,0,100,0,0,0,0,0,53,0,26290,1,0,0,0,1,0,0,0,0,0,0,0, 'Jotun - On spawn Start WP movement'), (26290,0,1,0,40,0,100,0,44,26290,0,0,97,0,283,0,0,0,0,8,0,0,0,4654.35,-121.904,105.083,0, 'Jotun - Reach Waypoint 44 - Jump to location'), (26290,0,2,0,40,0,100,0,103,26290,0,0,97,0,299,0,0,0,0,8,0,0,0,4709.1,-115.011,117.582,0, 'Jotun - Reach Waypoint 103 - Jump to location'); -- Pathing for Jotun UPDATE `creature` SET `spawndist`=0,`MovementType`=0,`position_x`=4803.719,`position_y`=-110.377,`position_z`=151.6726 WHERE `guid`=112693; DELETE FROM `waypoints` WHERE `entry`=26290; INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES (26290,1,4803.719,-110.377,151.6726, 'Jotun Waypoint'), (26290,2,4822.162,-105.8125,160.0476, 'Jotun Waypoint'), (26290,3,4841.813,-91.6812,162.5084, 'Jotun Waypoint'), (26290,4,4853.078,-84.6065,169.9097, 'Jotun Waypoint'), (26290,5,4875.203,-75.2793,180.632, 'Jotun Waypoint'), (26290,6,4903.311,-53.95589,190.6161, 'Jotun Waypoint'), (26290,7,4929.54,-32.04226,203.0435, 'Jotun Waypoint'), (26290,8,4945.438,-13.162,212.5526, 'Jotun Waypoint'), (26290,9,4971.999,20.83008,229.9488, 'Jotun Waypoint'), (26290,10,4989.678,38.06825,240.3347, 'Jotun Waypoint'), (26290,11,5003.575,50.49712,248.4771, 'Jotun Waypoint'), (26290,12,5014.406,70.00027,258.0828, 'Jotun Waypoint'), (26290,13,5038.319,82.65728,266.5125, 'Jotun Waypoint'), (26290,14,5061.024,93.10742,276.5125, 'Jotun Waypoint'), (26290,15,5085.183,98.87622,283.5373, 'Jotun Waypoint'), (26290,16,5106.643,101.5352,291.2911, 'Jotun Waypoint'), (26290,17,5113.817,101.0479,294.6661, 'Jotun Waypoint'), (26290,18,5076.931,97.90067,281.9123, 'Jotun Waypoint'), (26290,19,5043.669,88.92728,269.5125, 'Jotun Waypoint'), (26290,20,5016.169,72.55273,258.9578, 'Jotun Waypoint'), (26290,21,4987.166,41.65620,240.0847, 'Jotun Waypoint'), (26290,22,4983.640,38.87380,238.2910, 'Jotun Waypoint'), (26290,23,4979.070,34.56280,233.0950, 'Jotun Waypoint'), (26290,24,4967.840,24.19680,226.8870, 'Jotun Waypoint'), (26290,25,4965.030,21.24180,227.3730, 'Jotun Waypoint'), (26290,26,4962.712,18.53179,226.2885, 'Jotun Waypoint'), (26290,27,4945.135,3.81212,216.7885, 'Jotun Waypoint'), (26290,28,4930.888,-19.96734,206.2935, 'Jotun Waypoint'), (26290,29,4923.15,-28.6546,200.555, 'Jotun Waypoint'), (26290,30,4903.972,-49.31228,191.4911, 'Jotun Waypoint'), (26290,31,4887.74,-66.6421,185.422, 'Jotun Waypoint'), (26290,32,4883.22,-68.854,181.423, 'Jotun Waypoint'), (26290,33,4878.711,-71.18929,181.507, 'Jotun Waypoint'), (26290,34,4870.88,-76.2265,179.065, 'Jotun Waypoint'), (26290,35,4866.29,-78.5226,179.499, 'Jotun Waypoint'), (26290,36,4851.647,-90.96793,164.6597, 'Jotun Waypoint'), (26290,37,4838.84,-93.5335,162.512, 'Jotun Waypoint'), (26290,38,4807.99,-96.46875,158.7037, 'Jotun Waypoint'), (26290,39,4801.93,-97.4628,151.905, 'Jotun Waypoint'), (26290,40,4771.104,-105.5977,142.0229, 'Jotun Waypoint'), (26290,41,4738.929,-109.9109,134.5995, 'Jotun Waypoint'), (26290,42,4725.27,-112.722,131.146, 'Jotun Waypoint'), (26290,43,4717.83,-113.155,121.08, 'Jotun Waypoint'), (26290,44,4706.724,-115.1697,116.9064, 'Jotun Waypoint'), -- (26290,45,4654.35,-121.904,105.083, 'Jotun Waypoint'), (26290,45,4631.68,-117.858,103.682, 'Jotun Waypoint'), (26290,46,4625.635,-116.8157,107.136, 'Jotun Waypoint'), (26290,47,4587.792,-115.6476,95.02333, 'Jotun Waypoint'), (26290,48,4562.655,-110.6907,89.45159, 'Jotun Waypoint'), (26290,49,4522.699,-95.7346,85.08354, 'Jotun Waypoint'), (26290,50,4493.184,-84.40012,79.55837, 'Jotun Waypoint'), (26290,51,4466.944,-69.78152,74.68337, 'Jotun Waypoint'), (26290,52,4427.518,-49.13249,70.0881, 'Jotun Waypoint'), (26290,53,4402.126,-30.03874,66.47122, 'Jotun Waypoint'), (26290,54,4377.169,-12.79476,64.52417, 'Jotun Waypoint'), (26290,55,4365.73,-5.69378,60.2901, 'Jotun Waypoint'), (26290,56,4344.618,15.07357,60.33007, 'Jotun Waypoint'), (26290,57,4316.466,37.7347,56.91002, 'Jotun Waypoint'), (26290,58,4301.53,60.09614,53.16002, 'Jotun Waypoint'), (26290,59,4280.24,83.8082,48.5706, 'Jotun Waypoint'), (26290,60,4270.617,91.08105,43.50925, 'Jotun Waypoint'), (26290,61,4241.14,119.8132,42.46194, 'Jotun Waypoint'), (26290,62,4221.133,140.7934,39.25492, 'Jotun Waypoint'), (26290,63,4216.77,145.828,35.8765, 'Jotun Waypoint'), (26290,64,4204.59,158.06,34.255, 'Jotun Waypoint'), (26290,65,4199.422,162.8257,36.14523, 'Jotun Waypoint'), (26290,66,4173.721,181.4348,32.7173, 'Jotun Waypoint'), (26290,67,4150.774,201.2538,32.61091, 'Jotun Waypoint'), (26290,68,4125.608,219.8961,30.2642, 'Jotun Waypoint'), (26290,69,4085.191,241.5699,28.66476, 'Jotun Waypoint'), (26290,70,4055.594,256.3343,24.82686, 'Jotun Waypoint'), (26290,71,4027.513,263.052,22.03631, 'Jotun Waypoint'), (26290,72,3982.209,278.2336,19.15421, 'Jotun Waypoint'), (26290,73,3960.79,270.5115,15.21609, 'Jotun Waypoint'), (26290,74,3987.416,247.8164,18.37827, 'Jotun Waypoint'), (26290,75,4023.023,244.8792,22.91131, 'Jotun Waypoint'), (26290,76,4055.402,241.6654,25.82686, 'Jotun Waypoint'), (26290,77,4101.252,230.7219,29.8892, 'Jotun Waypoint'), (26290,78,4131.985,207.1947,30.7642, 'Jotun Waypoint'), (26290,79,4157.844,187.6215,32.64346, 'Jotun Waypoint'), (26290,80,4182.069,166.9218,34.0923, 'Jotun Waypoint'), (26290,81,4210.055,146.7277,34.37992, 'Jotun Waypoint'), (26290,82,4216.666,136.5502,39.00492, 'Jotun Waypoint'), (26290,83,4238.438,126.4527,41.71194, 'Jotun Waypoint'), (26290,84,4267.16,101.5898,43.01876, 'Jotun Waypoint'), (26290,85,4281.085,85.88086,47.88425, 'Jotun Waypoint'), (26290,86,4302.1,68.95313,52.30295, 'Jotun Waypoint'), (26290,87,4315.019,52.47266,54.91002, 'Jotun Waypoint'), (26290,88,4334.108,33.26074,58.20507, 'Jotun Waypoint'), (26290,89,4351.733,16.20182,60.83007, 'Jotun Waypoint'), (26290,90,4372.009,-1.017687,60.27417, 'Jotun Waypoint'), (26290,91,4391.963,-27.66325,65.77417, 'Jotun Waypoint'), (26290,92,4423.024,-54.06999,69.5881, 'Jotun Waypoint'), (26290,93,4442.592,-65.95188,73.2113, 'Jotun Waypoint'), (26290,94,4464.608,-75.18582,75.18965, 'Jotun Waypoint'), (26290,95,4489.791,-87.43555,79.30837, 'Jotun Waypoint'), (26290,96,4510.028,-94.97466,83.08354, 'Jotun Waypoint'), (26290,97,4530.386,-101.2669,86.84008, 'Jotun Waypoint'), (26290,98,4556.21,-103.1285,88.57659, 'Jotun Waypoint'), (26290,99,4572.21,-105.467,93.3142, 'Jotun Waypoint'), (26290,100,4583.927,-109.3287,90.02333, 'Jotun Waypoint'), (26290,101,4600.281,-113.3763,97.38597, 'Jotun Waypoint'), (26290,102,4621.281,-113.418,104.511, 'Jotun Waypoint'), (26290,103,4657.998,-115.8003,105.2701, 'Jotun Waypoint'), -- (26290,105,4709.1,-115.011,117.582, 'Jotun Waypoint'), (26290,104,4720.63,-116.256,123.13, 'Jotun Waypoint'), (26290,105,4725.47,-116.466,130.132, 'Jotun Waypoint'), (26290,106,4735.936,-115.721,132.3495, 'Jotun Waypoint'), (26290,107,4760.442,-113.3894,138.5995, 'Jotun Waypoint'), (26290,108,4787.337,-111.0684,144.5229, 'Jotun Waypoint'), (26290,109,4803.719,-110.377,151.6726, 'Jotun Waypoint');[/sql]

Wondering if someone would like to add a jump command to SAI. I have several places where it can be used. The above path is one of them.

You should be able to use action 97 now, you need to set jump height/speed in params yourself. Set target xyz for position. Have not updated wiki

Thanks, I’ll test it tomorrow.