Skip to content

Commit

Permalink
Added WPs and update SAI script for creature Insane Ghoul
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkulya committed Jan 15, 2022
1 parent 4b580c6 commit 5bda910
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions sql/updates/world/2022_01_15_00_world_insane_ghoul.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 2, `position_x` = -11012.04, `position_y` = -1350.911, `position_z` = 53.65797 WHERE `guid` = 171081;

UPDATE `creature_template_addon` SET `path_id` = 171081 WHERE `entry` = 511;

DELETE FROM `waypoint_data` WHERE `id` = 171081;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `action`, `action_chance`, `move_flag`, `entry`) VALUES
(171081,1,-11012.04,-1350.911,53.65797,0,0,0,100,1,511),
(171081,2,-11008.13,-1349.594,53.65797,0,0,0,100,1,511),
(171081,3,-11004.22,-1348.278,53.65797,0,0,0,100,1,511),
(171081,4,-11001.96,-1347.52,53.65798,0,0,0,100,1,511),
(171081,5,-11001.96,-1347.52,53.65798,0,0,0,100,1,511),
(171081,6,-11007.69,-1347.672,53.90797,0,0,0,100,1,511),
(171081,7,-11003.39,-1346.67,53.90797,0,0,0,100,1,511),
(171081,8,-11005.16,-1349.329,53.90797,0,0,0,100,1,511),
(171081,9,-11004.69,-1350.538,53.65797,0,0,0,100,1,511),
(171081,10,-11000.4,-1348.078,53.90798,0,0,0,100,1,511),
(171081,11,-11000.52,-1348.302,53.90797,0,0,0,100,1,511),
(171081,12,-11003.05,-1351.502,53.90798,0,0,0,100,1,511),
(171081,13,-11001.44,-1349.495,53.90798,0,0,0,100,1,511),
(171081,14,-11000.5,-1348.368,53.90798,0,0,0,100,1,511),
(171081,15,-10998.5,-1350.322,53.90798,0,0,0,100,1,511),
(171081,16,-11003.11,-1351.897,53.90797,0,0,0,100,1,511),
(171081,17,-11003.49,-1347.612,53.90797,0,0,0,100,1,511),
(171081,18,-11002.97,-1348.897,53.65797,0,0,0,100,1,511),
(171081,19,-11004.99,-1349.427,53.90797,0,0,0,100,1,511),
(171081,20,-11005.26,-1349.958,53.90797,0,0,0,100,1,511),
(171081,21,-11008.59,-1352.754,53.90797,0,0,0,100,1,511),
(171081,22,-11011.24,-1349.452,53.65797,0,0,0,100,1,511),
(171081,23,-11008.1,-1347.372,53.90797,0,0,0,100,1,511),
(171081,24,-10999.78,-1347.313,53.90797,0,0,0,100,1,511),
(171081,25,-11000.09,-1347.871,53.90798,0,0,0,100,1,511),
(171081,26,-11000.99,-1348.765,53.90797,0,0,0,100,1,511),
(171081,27,-11002.27,-1350.48,53.65797,0,0,0,100,1,511),
(171081,28,-11007.39,-1355.679,53.90215,0,0,0,100,1,511),
(171081,29,-11008.21,-1349.791,53.90797,0,0,0,100,1,511),
(171081,30,-10999.21,-1339.94,53.65901,0,0,0,100,1,511),
(171081,31,-10991.02,-1325.43,51.89410,0,0,0,100,1,511),
(171081,32,-10974.73,-1319.76,52.23990,0,0,0,100,1,511),
(171081,33,-10967.56,-1304.02,52.83010,0,0,0,100,1,511),
(171081,34,-10951.63,-1294.90,53.07983,0,0,0,100,1,511),
(171081,35,-10975.65,-1278.12,52.91663,0,0,0,100,1,511),
(171081,36,-10995.87,-1278.58,52.55708,0,0,0,100,1,511),
(171081,37,-11003.17,-1291.67,53.35623,0,0,0,100,1,511),
(171081,38,-11011.82,-1287.97,52.92206,0,0,0,100,1,511),
(171081,39,-11028.25,-1302.74,52.35116,0,0,0,100,1,511),
(171081,40,-11031.20,-1319.99,53.38998,0,0,0,100,1,511),
(171081,41,-11023.34,-1327.44,53.19660,0,0,0,100,1,511),
(171081,42,-11012.68,-1317.23,53.10403,0,0,0,100,1,511),
(171081,43,-10992.53,-1326.81,51.86867,0,0,0,100,1,511),
(171081,44,-10999.91,-1342.19,53.65885,0,0,0,100,1,511);

DELETE FROM `smart_scripts` WHERE `entryorguid` = 511 AND `source_type` = 0;
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
(511, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 11, 26047, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Insane Ghoul - On Respawn - Cast 'Birth'"),
(511, 0, 1, 0, 0, 0, 100, 0, 2000, 5000, 120000, 130000, 11, 8282, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Insane Ghoul - In Combat - Cast 'Curse of Blood'");

0 comments on commit 5bda910

Please sign in to comment.