--MaNGOS Table Code
REPLACE INTO `eventai_scripts` (`id`,`creature_id`,`event_type`,`event_chance`,`event_param1`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`comment`) VALUES ('1719050','17190','6','25','0','12','17612','6','180000','summon_17612'),('1719150','17191','6','25','0','12','17612','6','180000','summon_ 17612'),('1719250','17192','6','25','0','12','17612','6','180000','summon_17612'),('1710250','17102','6','25','0','12','17612','6','180000', 'summon_17612'),('1747550','17475','6','25','0','12','17612','6','180000','summon_17612');
REPLACE INTO `eventai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event _param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3` ,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES ('1761250','17612','2','0','100','0','30','0','0','0','11','30790','1','16','0','0','0','0','0','0','0','0','quest_complite');
-- в базу
Code
UPDATE `creature_template` SET `ScriptName`='mob_eventai' WHERE `entry` IN ('17190','17191','17192','17102','17475','17612');
DELETE FROM `creature` WHERE `id`='17612';