Код:
update quest_template set questflags=0, ReqCreatureOrGoid1=0, ReqCreatureOrGoid2=0, ReqCreatureOrGoid3=0, ReqCreatureOrGoid4=0, ReqCreatureOrGoCount1=0, ReqCreatureOrGoCount2=0, ReqCreatureOrGoCount3=0, ReqCreatureOrGoCount4=0 where entry=12641; update creature_template set faction_A=122, faction_H=122 where entry=29611; update creature_template set faction_A=126, faction_H=126 where entry=4949; insert into creature_ai_scripts values ('2855701','28557','6','0','100','0','0','0','0','0','33','28763','6','0','0','0','0','0','0','0','0','0','Scarlet Peasant - Quest Kill Credit'), ('2857601','28576','6','0','100','0','0','0','0','0','33','28764','6','0','0','0','0','0','0','0','0','0','Citizen of Havenshire - Quest Kill Credit'), ('2857701','28577','6','0','100','0','0','0','0','0','33','28764','6','0','0','0','0','0','0','0','0','0','Citizen of Havenshire - Quest Kill Credit'), ('2860801','28608','6','0','100','0','0','0','0','0','33','28763','6','0','0','0','0','0','0','0','0','0','Scarlet Medic - Quest Kill Credit'), ('2860901','28609','6','0','100','0','0','0','0','0','33','28763','6','0','0','0','0','0','0','0','0','0','Scarlet Infantryman - Quest Kill Credit'), ('2861001','28610','8','0','100','0','52781','-1','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - Set Phase 1 on Spell Hit'), ('2861002','28610','0','510','100','0','0','0','0','0','31','2','8','0','0','0','0','0','0','0','0','0','Scarlet Marksman - Random In-Combat Say (Phase 1)'), ('2861003','28610','0','509','100','0','0','0','0','0','1','-555','0','0','20','0','0','0','18','2','0','0','Scarlet Marksman - In-Combat Say (Phase 2)'), ('2861004','28610','0','509','100','0','5000','5000','0','0','1','-556','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say (Phase 2)'), ('2861005','28610','0','509','100','0','14000','14000','0','0','1','-557','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say (Phase 2)'), ('2861006','28610','0','509','100','0','20000','20000','0','0','1','-558','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say (Phase 2)'), ('2861007','28610','0','509','100','0','30000','30000','0','0','1','-559','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say (Phase 2)'), ('2861008','28610','6','509','100','0','31500','34000','0','0','26','12720','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - Quest Event on Death (Phase 2)'), ('2861009','28610','0','509','100','0','32000','32000','0','0','37','0','0','0','0','0','0','0','0','0','0','0','Scarlet Marksman - Die (Phase 2)'), ('2861010','28610','0','507','100','0','0','0','0','0','1','-560','0','0','22','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say and Set Phase 0 (Phase 3)'), ('2861011','28610','0','503','100','0','0','0','0','0','1','-561','0','0','22','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say and Set Phase 0 (Phase 4)'), ('2861012','28610','0','495','100','0','0','0','0','0','1','-562','0','0','22','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say and Set Phase 0 (Phase 5)'), ('2861013','28610','0','479','100','0','0','0','0','0','1','-563','0','0','22','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say and Set Phase 0 (Phase 6)'), ('2861014','28610','0','447','100','0','0','0','0','0','1','-564','0','0','22','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say and Set Phase 0 (Phase 7)'), ('2861015','28610','0','383','100','0','0','0','0','0','1','-565','0','0','22','0','0','0','0','0','0','0','Scarlet Marksman - In-Combat Say and Set Phase 0 (Phase 8)'), ('2861016','28610','6','0','100','0','0','0','0','0','33','28984','6','0','0','0','0','0','0','0','0','0','Scarlet Marksman - Quest Kill Credit'), ('2861101','28611','6','0','100','0','0','0','0','0','33','28763','6','0','0','0','0','0','0','0','0','0','Scarlet Captain - Quest Kill Credit'), ('2883401','28834','6','0','100','0','0','0','0','0','33','28849','6','0','0','0','0','0','0','0','0','0','Scarlet Fleet Defender - Quest Kill Credit'), ('2885601','28856','6','0','100','0','0','0','0','0','33','28849','6','0','0','0','0','0','0','0','0','0','Scarlet Fleet Guardian - Quest Kill Credit'), ('2893601','28936','6','0','100','0','0','0','0','0','33','28984','6','0','0','0','0','0','0','0','0','0','Scarlet Commander - Quest Kill Credit'), ('2893901','28939','6','0','100','0','0','0','0','0','33','28984','6','0','0','0','0','0','0','0','0','0','Scarlet Preacher - Quest Kill Credit'), ('2894001','28940','6','0','100','0','0','0','0','0','33','28984','6','0','0','0','0','0','0','0','0','0','Scarlet Crusader - Quest Kill Credit'), ('2894101','28941','6','0','100','0','0','0','0','0','33','28986','6','0','0','0','0','0','0','0','0','0','Citizen of New Avalon - Quest Kill Credit'), ('2894201','28942','6','0','100','0','0','0','0','0','33','28986','6','0','0','0','0','0','0','0','0','0','Citizen of New Avalon - Quest Kill Credit'), ('2910201','29102','6','0','100','0','0','0','0','0','33','29150','6','0','0','0','0','0','0','0','0','0','Hearthglen Crusader - Quest Kill Credit'), ('2910301','29103','6','0','100','0','0','0','0','0','33','29150','6','0','0','0','0','0','0','0','0','0','Hearthglen Crusader - Quest Kill Credit'), ('3109501','31095','6','0','100','0','0','0','0','0','33','31100','6','0','0','0','0','0','0','0','0','0','Valkyr Battle-maiden - Quest Kill Credit'), ('3109601','31096','6','0','100','0','0','0','0','0','33','31100','6','0','0','0','0','0','0','0','0','0','Scourge Necromancer - Quest Kill Credit'), ('3109801','31098','6','0','100','0','0','0','0','0','33','31100','6','0','0','0','0','0','0','0','0','0','Terrifying Abomination - Quest Kill Credit'); UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry` IN (28557,28576,28577,28608,28609,28610,28611,28834,28856,28936,28939,28940,28941,28942,29102,29103,31095,31096,31098); UPDATE `creature_template` SET `ScriptName`='' WHERE (`ScriptName`='generic_creature' AND `AIName`='EventAI');