Advertisement
bucur35

Untitled

Jan 18th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 6.61 KB | None | 0 0
  1.  -- "Crisis Management"  
  2.  
  3.     UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=47519;
  4.     UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=47520;
  5.     UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=47707;
  6.     UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=47516;
  7.          
  8.     UPDATE `creature_template` SET `gossip_menu_id`=47519 WHERE  `entry`=47519;
  9.     UPDATE `creature_template` SET `gossip_menu_id`=47520 WHERE  `entry`=47520;
  10.     UPDATE `creature_template` SET `gossip_menu_id`=47707 WHERE  `entry`=47707;
  11.     UPDATE `creature_template` SET `gossip_menu_id`=47516 WHERE  `entry`=47516;
  12.          
  13.     UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=47519;
  14.     UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=47520;
  15.     UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=47707;
  16.     UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=47516;
  17.          
  18.     DELETE FROM `npc_text` WHERE `ID`=47519;
  19.     DELETE FROM `npc_text` WHERE `ID`=47520;
  20.     DELETE FROM `npc_text` WHERE `ID`=47707;
  21.     DELETE FROM `npc_text` WHERE `ID`=47516;
  22.     INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `lang3`, `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `lang4`, `prob4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `WDBVerified`) VALUES
  23.     (47520, 'We wouldn\'t want to stir up any unnecessary panic.That simply wouldn\'t be prudent!', NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 1),
  24.     (47519, 'I\'ve never seen an actual corpse before...', NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 1),
  25.     (47516, 'Someone, or something seems to have done in the Ambassador!', NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 1),
  26.     (47707, 'Do you see the man\'s wounds? What kind of monster DOES that?', NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 1);
  27.  
  28.          
  29.     DELETE FROM `gossip_menu_option` WHERE `menu_id`=47519;
  30.     DELETE FROM `gossip_menu_option` WHERE `menu_id`=47520;
  31.     DELETE FROM `gossip_menu_option` WHERE `menu_id`=47707;
  32.     DELETE FROM `gossip_menu_option` WHERE `menu_id`=47516;
  33.     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
  34.     (47520, 0, 0, 'You\'re only concern here is your stake in this operation.', 1, 1, 0, 0, 0, 0, NULL),
  35.     (47519, 0, 0, 'Thanks for information.', 1, 1, 0, 0, 0, 0, NULL),
  36.     (47516, 0, 0, 'Thank you sir.', 1, 1, 0, 0, 0, 0, NULL),
  37.     (47707, 0, 0, 'Just take a deep breath.', 1, 1, 0, 0, 0, 0, NULL);
  38.          
  39.     DELETE FROM `gossip_menu` WHERE `entry`=47519 AND `text_id`=47519;
  40.     DELETE FROM `gossip_menu` WHERE `entry`=47520 AND `text_id`=47520;
  41.     DELETE FROM `gossip_menu` WHERE `entry`=47707 AND `text_id`=47707;
  42.     DELETE FROM `gossip_menu` WHERE `entry`=47516 AND `text_id`=47516;
  43.     INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  44.     (47519, 47519),
  45.     (47520, 47520),
  46.     (47707, 47707),
  47.     (47516, 47516);
  48.          
  49.     DELETE FROM `smart_scripts` WHERE  `entryorguid`=47519;
  50.     DELETE FROM `smart_scripts` WHERE  `entryorguid`=47520;
  51.     DELETE FROM `smart_scripts` WHERE  `entryorguid`=47707;
  52.     DELETE FROM `smart_scripts` WHERE  `entryorguid`=47516;
  53.     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
  54.     (47519, 0, 0, 0, 62, 0, 100, 0, 47519, 0, 0, 0, 33, 371, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip select - Give credit'),
  55.     (47520, 0, 0, 0, 62, 0, 100, 0, 47520, 0, 0, 0, 33, 37110, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip select - Give credit'),
  56.     (47707, 0, 0, 0, 62, 0, 100, 0, 47707, 0, 0, 0, 33, 37111, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip select - Give credit'),
  57.     (47516, 0, 0, 0, 62, 0, 100, 0, 47516, 0, 0, 0, 33, 37111, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip select - Give credit');
  58.  
  59.          
  60.     DELETE FROM `conditions` WHERE `SourceGroup`=47519;
  61.     DELETE FROM `conditions` WHERE `SourceGroup`=47520;
  62.     DELETE FROM `conditions` WHERE `SourceGroup`=47707;
  63.     DELETE FROM `conditions` WHERE `SourceGroup`=47516;
  64.     INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  65.     (15, 47519, 0, 0, 0, 9, 0, 28002, 0, 0, 0, 0, '', 'show gossip if player has quest'),
  66.     (15, 47520, 0, 0, 0, 9, 0, 28002, 0, 0, 0, 0, '', 'show gossip if player has quest'),
  67.     (15, 47707, 0, 0, 0, 9, 0, 28002, 0, 0, 0, 0, '', 'show gossip if player has quest'),
  68.     (15, 47516, 0, 0, 0, 9, 0, 28002, 0, 0, 0, 0, '', 'show gossip if player has quest');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement