Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [Q] The Exorcism of Colonel Jules
- -- http://old.wowhead.com/quest=10935
- SET @ENTRY:=22431;
- SET @COLONEL:=22432;
- SET @GOSSIP:=8539;
- SET @ITEM:=31828;
- SET @QUEST:=10935;
- DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP;
- INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
- (@GOSSIP, 10683);
- DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP;
- INSERT INTO `gossip_menu_option` VALUES
- (@GOSSIP, 0, 0, 'Let''s begin...', 1, 1, 0, 0, 0, 0, '');
- UPDATE `creature_template` SET `AIName`='SmartAI', `gossip_menu_id`=@GOSSIP WHERE `entry`=@ENTRY;
- DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@ENTRY,@ENTRY*100);
- 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
- (@ENTRY,0,0,0,62,0,100,0,@GOSSIP,0,0,0,80,@ENTRY*100,0,2,0,0,0,1,0,0,0,0,0,0,0,"Gossip select - Run Script"),
- (@ENTRY*100,9,0,0,0,0,100,1,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"close gossip"),
- (@ENTRY*100,9,1,0,0,0,100,1,0,0,0,0,57,@ITEM,1,0,0,0,0,7,0,0,0,0,0,0,0,"Remove item"),
- (@ENTRY*100,9,2,0,0,0,100,1,4000,4000,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,3,0,0,0,100,1,4000,4000,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,4,0,0,0,100,1,4000,4000,0,0,1,0,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,5,0,0,0,100,1,4000,4000,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,6,0,0,0,100,1,4000,4000,0,0,1,1,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,7,0,0,0,100,1,4000,4000,0,0,1,2,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,8,0,0,0,100,1,4000,4000,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,9,0,0,0,100,1,4000,4000,0,0,1,3,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,10,0,0,0,100,1,4000,4000,0,0,1,4,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,11,0,0,0,100,1,4000,4000,0,0,1,4,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,12,0,0,0,100,1,4000,4000,0,0,1,5,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,13,0,0,0,100,1,4000,4000,0,0,1,5,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,14,0,0,0,100,1,4000,4000,0,0,1,6,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,15,0,0,0,100,1,4000,4000,0,0,1,5,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,16,0,0,0,100,1,4000,4000,0,0,1,6,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,17,0,0,0,100,1,4000,4000,0,0,1,6,0,0,0,0,0,9,@COLONEL,0,20,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,18,0,0,0,100,1,4000,4000,0,0,1,7,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,19,0,0,0,100,1,4000,4000,0,0,1,8,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Script - SAY"),
- (@ENTRY*100,9,20,0,0,0,100,1,1000,1000,0,0,33,22432,0,0,0,0,0,7,0,0,0,0,0,0,0,"On Script - Give credit.");
- -- Texts
- DELETE FROM `creature_text` WHERE `entry` IN (@ENTRY, @COLONEL);
- INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
- (@ENTRY,0,0,"It is time. The rite of exorcism will now commence...",12,0,100,0,0,0,""),
- (@ENTRY,1,0,"Prepare yourself. Do not allow the ritual to be interrupted or we may loose our patient...Colonel Jules says: Keep away. The fool is mine.",12,0,100,0,0,0,""),
- (@ENTRY,2,0,"The power of light compells you! Back to your pit!",12,0,100,0,0,0,""),
- (@ENTRY,3,0,"The light is my guide... it is my sustenance!",12,0,100,0,0,0,""),
- (@ENTRY,4,0," I... must not... falter!",12,0,100,0,0,0,""),
- (@ENTRY,5,0,"In the name of the Light! It is Light that commands you! It is Light that flung you to the depths of darkness!",12,0,100,0,0,0,""),
- (@ENTRY,6,0,"Back you foul beings of darkness! You have no power here!",12,0,100,0,0,0,""),
- (@ENTRY,7,0,"Be cleansed with Light, human! Let not the demonic corruption overwhelm you.",12,0,100,0,0,0,""),
- (@ENTRY,8,0,"Back! I cast you back... corruptor of faith! Author of pain! Do not return, or suffer the same fate as you did here today!",12,0,100,0,0,0,""),
- (@COLONEL,0,0,"Keep away. The fool is mine.",12,0,100,0,0,0,""),
- (@COLONEL,1,0,"Give us time... Let the man die... I am no one... I am no one... Fear the anchorite... Fear the anchorite... Barada... Barada.",12,0,100,0,0,0,""),
- (@COLONEL,2,0,"This is fruitless, draenei! You and your little helper cannot wrest control of this pathetic human. He is mine!",12,0,100,0,0,0,""),
- (@COLONEL,3,0,"I will tear your soul into morsels and slow roast them over demon fire.",12,0,100,0,0,0,""),
- (@COLONEL,4,0,"This is fruitless, draenei! You and your little helper cannot wrest control of this pathetic human. He is mine!",12,0,100,0,0,0,""),
- (@COLONEL,5,0,"All is lost, Anchorite! Abandon what hope remains.",12,0,100,0,0,0,""),
- (@COLONEL,6,0,"I see your ancestors, Anchorite! They writhe and scream in the darkness... they are with us!",12,0,100,0,0,0,"");
- -- Conditions for gossip
- DELETE FROM `conditions` WHERE `SourceGroup`=@GOSSIP;
- INSERT INTO `conditions` VALUES
- (15, @GOSSIP, 0, 0, 0, 9, 0, @QUEST, 0, 0, 0, 0, '', 'Only show gossip if player has quest'),
- (15, @GOSSIP, 0, 0, 0, 2, 0, @ITEM, 1, 0, 0, 0, '', 'Only show gossip if player has item');
Advertisement
Add Comment
Please, Sign In to add comment