MENZ411

wod [FIX] Free Your Mind, the Rest Follows (25298)

2 posts in this topic

-- Fixed Quest Free Your Mind, the Rest Follows (25298)
-- Twilight Servitor SAI
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='', `npcflag`=1, `gossip_menu_id`=11281 WHERE `entry`=39644;

DELETE FROM `gossip_menu_option` WHERE `menu_id`=11281;
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`) VALUES 
(11281, 0, 0, '<Administer the draught.>', 1, 1, 0, 0, 0, 0, NULL);

DELETE FROM `conditions` WHERE `SourceGroup`=11281 AND `SourceTypeOrReferenceId`=15;
INSERT INTO `conditions` 
(`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES 
(15, 11281, 0, 0, 0, 9, 0, 25298, 0, 0, 0, 0, '', 'Show gossip if quest 25298 taken');

DELETE FROM `smart_scripts` WHERE `entryorguid`=39644 AND `source_type`=0 OR `entryorguid`=3964400 AND `source_type`=9;
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 
(39644, 0, 0, 1, 62, 0, 100, 0, 11281, 0, 0, 0, 80, 3964400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - On gossip option select - Run script'),
(39644, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - On link - Close gossip'),
(39644, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - On link - Remove gossip flag'),
(3964400, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 33, 39719, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - Script - Killcredit'),
(3964400, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - Script - Set orientation'),
(3964400, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - Script - Say line random'),
(3964400, 9, 3, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 81, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - Script - Reset npcflag'),
(3964400, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Twilight Servitor - Script - Force despawn');

DELETE FROM `creature_text` WHERE `entry`=39644;
INSERT INTO `creature_text` 
(`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES 
(39644, 0, 0, 'What did they do to me? I''ve got to get back to camp...', 12, 0, 100, 5, 0, 0, 'Twilight Servitor'),
(39644, 0, 1, '...What am I saying? Nothing makes sense anymore. I''ve got to get out of this place!', 12, 0, 100, 5, 0, 0, 'Twilight Servitor'),
(39644, 0, 2, 'Wha - what? Where am I? I''ve got to get out of here!', 12, 0, 100, 5, 0, 0, 'Twilight Servitor'),
(39644, 0, 3, 'What happened to me? I''m leaving!', 12, 0, 100, 5, 0, 0, 'Twilight Servitor'),
(39644, 0, 4, 'Whoa, you made the voices go away. I''m outta here!', 12, 0, 100, 5, 0, 0, 'Twilight Servitor'),
(39644, 0, 5, 'My ... brain ... hurts!', 12, 0, 100, 5, 0, 0, 'Twilight Servitor');

 

Share this post


Link to post
Share on other sites

Awesone patches. Gj.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.