Advertisement
eyerobot61

Untitled

Jun 18th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. -- 12097 Sarathstra, Scourge of the North
  2.  
  3. -- 26859 Rokhan
  4. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 26859;
  5.  
  6. DELETE FROM `smart_scripts` WHERE (`entryorguid`=26859 AND `source_type`=0);
  7. 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
  8. (26859, 0, 0, 1, 62, 0, 100, 0, 9434, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 142012, 26858, 0, 0, 0, 0, 0, "Rokhan - On Gossip Select - Set Data 0 1 On Sarathstra"),
  9. (26859, 0, 1, 0, 61, 0, 100, 0, 9434, 0, 0, 0, 72, 0, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Rokhan - On Gossip Select - Close Gossip");
  10.  
  11. DELETE FROM `creature_text` WHERE `entry`=26859 AND `groupid`=0 AND `id`=0;
  12. INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (26859, 0, 0, 'Don\'t ya worry, mon. Just leave it to Rokhan. She be comin\'.', 12, 1, 100, 1, 0, 7274, 0, 'Rokhan to Player');
  13.  
  14. DELETE FROM `gossip_menu_option` WHERE `menu_id`=9434 AND `id`=0;
  15. INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `OptionbroadCastTextId`, `BoxBroadcastTextId`) VALUES (9434, 0, 0, 'Get that frostwyrm on the ground and I\'ll finish her.', 1, 1, 0, 0, 0, 0, '', 0, NULL);
  16.  
  17. DELETE FROM `gossip_menu` WHERE `entry`= 9434 AND `text_id`= 12701;
  18. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  19. (9434, 12701); -- 26859
  20.  
  21. -- 26858 Sarathstra guid 142012
  22. UPDATE `creature_template` SET `AIName` = 'SmartAI', `InhabitType` = 5 WHERE `entry` = 26858;
  23.  
  24. DELETE FROM `smart_scripts` WHERE (`entryorguid`=26858 AND `source_type`=0);
  25. 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
  26. (26858, 0, 0, 0, 38, 0, 100, 0, 0, 1, 0, 0, 53, 0, 14201200, 0, 12097, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, "Sarathstra - On Data Set 0 1 - Start Waypoints"),
  27. (26858, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sarathstra - On Death - Set Data 0 0");
  28.  
  29. DELETE FROM `waypoints` WHERE `entry`=14201200 AND `pointid`=1;
  30. INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (14201200, 1, 4402.14, 910.406, 83.0575, 'Sarathstra');
  31. DELETE FROM `waypoints` WHERE `entry`=14201200 AND `pointid`=2;
  32. INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES (14201200, 2, 4361.72, 959.659, 85.3024, 'Sarathstra');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement