Advertisement
Guest User

Untitled

a guest
Jul 8th, 2014
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. -- [Q]The purification of the Quel'delar(H)
  2. UPDATE `creature_template` SET `minlevel`=80,`maxlevel`=80,`Health_mod`=2.9480580,`Mana_mod`=1,`IconName`='Speak', `npcflag`=3,`gossip_menu_id`=50000,`AIname`='SmartAI' WHERE `entry`=37523;
  3. -- spawn Warden of sunwell
  4. DELETE FROM `creature` WHERE `id`=37523;
  5. INSERT INTO `creature` VALUES ('1002398', '37523', '530', '1', '1', '0', '0', '12556.6', '-6779.59', '15.039', '0.223384', '300', '0', '0', '41', '60', '0', '0', '0', '0');
  6. INSERT INTO `creature` VALUES ('1002399', '37523', '530', '1', '1', '0', '0', '12556.7', '-6769.64', '15.1005', '0.283409', '300', '0', '0', '41', '60', '0', '0', '0', '0');
  7.  
  8. DELETE FROM `gossip_menu` WHERE `entry`=50000;
  9. INSERT INTO `gossip_menu` VALUES (50000,300000);
  10. -- Texts from Warden of Sunwell
  11. DELETE FROM `npc_text` WHERE `id`=300000;
  12. INSERT INTO `npc_text` VALUES (300000, 'I will escort you into the Sunwell when you\'re ready.', 'I will escort you into the Sunwell when you\'re ready.', '0','1', '0', '1', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0','0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '12340');
  13.  
  14. DELETE FROM `gossip_menu_option` WHERE `menu_id`=50000;
  15. INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`) VALUES
  16. (50000,0,0,'I\'m ready to enter the Sunwell.',1,1);
  17.  
  18. -- Warden of Sunwell script SAI
  19. DELETE FROM `smart_scripts` WHERE `entryorguid`=37523 AND `source_type`=0;
  20. 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
  21. ('37523', '0', '0', '1', '61', '0', '100', '0', '0', '0', '0', '0', '85', '70746', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', 'Warden of the Sunwell - On Gossip Select - Cast spell on self'),
  22. ('37523', '0', '1', '0', '62', '0', '100', '0', '50000', '0', '0', '0', '72', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Warden of the Sunwell - On Gossip Select - Close Gossip');
  23.  
  24. DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=50000;
  25. /*INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
  26. (15,50000,0,0,9,24596,0,0,0,'',"Only show first gossip if player is on quest The purification of the Quel'delar(H)"),
  27. (15,50000,0,1,9,24595,0,0,0,'',"Only show first gossip if player is on quest The purification of the Quel'delar(A)");*/
  28.  
  29. DELETE FROM `spell_area` WHERE `spell`=70193;
  30. INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`) VALUES
  31. (70193,4075,24522,24553,0,0,2,1),
  32. (70193,4075,24562,24564,0,0,2,1),
  33. (70193,4094,24522,24553,0,0,2,1),
  34. (70193,4094,24562,24564,0,0,2,1),
  35. (70193,4080,24522,24553,0,0,2,1),
  36. (70193,4080,24562,24564,0,0,2,1);
  37.  
  38. DELETE FROM `spell_target_position` WHERE `id`='70746';
  39. INSERT INTO `spell_target_position`(`id`,`target_map`,`target_position_x` ,`target_position_y`,`target_position_z`,`target_orientation`) VALUES
  40. (70746,580,1788.911865,648.928284,71.204185,2.171664);
  41.  
  42. -- Warden of Sunwell script
  43. DELETE FROM `smart_scripts` WHERE `entryorguid`=37523;
  44. 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
  45. (37523,0,0,1,62,0,100,0,50000,0,0,0,11,70746,0,0,0,0,0,7,0,0,0,0,0,0,0,"Warden of the Sunwell - On Gossip Select - Cast Spell Teleport Into Sunwell"),
  46. (37523,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Warden of the Sunwell - On Gossip Select - Close Gossip");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement