Единият няма combat скрипт, защото не му работят магиите, тоест локвите по земята.
UPDATE `creature_template` SET `unit_flags`=256,`faction_a`=35,`faction_h`=35,`ainame`='SmartAI',`scriptname`='' WHERE `entry` IN (36565,36272,36296);
UPDATE `creature_template` SET `gossip_menu_id`=65000, npcflag=`npcflag`|1 WHERE `entry`=36296;
DELETE FROM `creature_template_addon` WHERE `entry` IN (36565,36296);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
('36296','0','0','0','0','0','68589'),
('36565','0','0','0','0','0','68946');
DELETE FROM `creature` WHERE `id` IN (36565,36272,36296);
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
(NULL,'36272','33','1','1','0','0','-205.797','2217.71','79.7636','3.0263','300','0','0','269620','0','0','0','0','0'),
(NULL,'36296','33','1','1','0','0','-207.635','2219.28','79.7636','4.58767','300','0','0','269620','0','0','0','0','0'),
(NULL,'36565','33','1','1','0','0','-210.051','2218.11','79.7636','6.19538','300','0','0','269620','0','0','0','0','0');
DELETE FROM `gossip_menu` WHERE `entry`=65000;
INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
('65000','65000');
DELETE FROM `npc_text` WHERE `id`=65000;
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
('65000','Due to the, ah, \'misunderstanding\' in Dragonblight, we\'ve have to relocate our facilities to this decrepit mess of a castle.\r\n\r\nStill, we\'ve now plenty of space and time to work on various new and lovely... products...',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');
DELETE FROM `gossip_menu_option` WHERE `menu_id`=65000;
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
('65000','0','0','Begin the battle.','1','1','0','0','0','0',NULL);
DELETE FROM `creature_text` WHERE `entry`=36296;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
('36296','0','0','Did they bother to tell you who I am and why I am doing this?','12','0','0','0','0','0',''),
('36296','1','0','...or are they just using you like they do everybody else? ','12','0','0','0','0','0',''),
('36296','2','0','But what does it matter. It is time for this to end.','12','0','0','0','0','0','');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (36296,36565,36272) AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3629600,3656500,3627200) 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
('36296','0','0','1','62','0','100','0','65000','0','0','0','72','0','0','0','0','0','0','7','0','0','0','0','0','0','0','On Gossip_menu_option Selected - Close Gossip_menu'),
('36296','0','1','2','61','0','100','0','0','0','0','0','2','24','0','0','0','0','0','1','0','0','0','0','0','0','0','Link With Event 0 - Change Faction To Hostile'),
('36296','0','2','0','61','0','100','0','0','0','0','0','80','3629600','0','0','0','0','0','1','0','0','0','0','0','0','0','Link With Event 1 - Call TAL'),
('36296','0','3','0','0','0','100','0','0','500','4000','5000','11','68607','0','0','0','0','0','2','0','0','0','0','0','0','0','In Combat - Cast Alluring Perfume Spray'),
('36296','0','4','0','25','0','100','0','0','0','0','0','2','35','0','0','0','0','0','1','0','0','0','0','0','0','0','On Spawn/Respawn/After Combat - Set Frinedly Faction'),
('3629600','9','0','0','0','0','100','0','0','0','0','0','45','0','1','0','0','0','0','19','36565','100','0','0','0','0','0','Action 0 - Set Data 0 1 to Apothecary Baxter'),
('3629600','9','1','0','0','0','100','0','0','0','0','0','45','0','1','0','0','0','0','19','36272','100','0','0','0','0','0','Action 1 - Set Data 0 1 to Apothecary Frye'),
('3629600','9','2','0','0','0','100','0','1000','1000','0','0','1','0','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 2 - Say Line 0'),
('3629600','9','3','0','0','0','100','0','3000','3000','0','0','1','1','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 3 - Say Line 1'),
('3629600','9','4','0','0','0','100','0','4000','4000','0','0','1','2','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 4 - Say Line 2'),
('3629600','9','5','0','0','0','100','0','3000','3000','0','0','19','256','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 5 - Remove unit_flags 256'),
('3629600','9','6','0','0','0','100','0','0','0','0','0','49','0','0','0','0','0','0','21','100','0','0','0','0','0','0','Action 6 - Attack Nearest Player');
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
('36565','0','0','0','38','0','100','0','0','1','0','0','80','3656500','2','0','0','0','0','1','0','0','0','0','0','0','0','On Data Set - Call TAL'),
('36565','0','1','0','0','0','100','0','0','500','4000','5000','11','68948','0','0','0','0','0','2','0','0','0','0','0','0','0','In Combat - Cast Irresistible Cologne Spray'),
('3656500','9','0','0','0','0','100','0','0','0','0','0','69','0','0','0','0','0','0','8','0','0','0','-221.8','2206.6','79.8','4','Action 0 - Go to Position'),
('3656500','9','1','0','0','0','100','0','18000','18000','0','0','19','256','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 1 - Remove Unit Flags 256'),
('3656500','9','2','0','0','0','100','0','0','0','0','0','2','24','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 2 - Change Faction '),
('3656500','9','3','0','0','0','100','0','0','0','0','0','49','0','0','0','0','0','0','21','100','0','0','0','0','0','0','Action 3 - Attack Nearest Player');
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
('36272','0','0','0','38','0','100','0','0','1','0','0','80','3627200','2','0','0','0','0','1','0','0','0','0','0','0','0','On Data Set - Call TAL'),
('3627200','9','0','0','0','0','100','0','0','0','0','0','69','0','0','0','0','0','0','8','0','0','0','-197.9','2193.3','79.8','5.9','Action 0 - Go to Position'),
('3627200','9','1','0','0','0','100','0','26000','26000','0','0','19','256','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 1 - Remove Unit Flags 256'),
('3627200','9','2','0','0','0','100','0','0','0','0','0','2','24','0','0','0','0','0','1','0','0','0','0','0','0','0','Action 2 - Change Faction'),
('3627200','9','3','0','0','0','100','0','0','0','0','0','49','0','0','0','0','0','0','21','100','0','0','0','0','0','0','Action 3 - Attack Nearest Player');