Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Fix for the quest I Sense a Disturbance
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 28671;
- INSERT INTO `creature_ai_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 (2867100, 28671, 4, 0, 100, 0, 0, 0, 0, 0, 15, 12665, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Quest complete.');
- -- Fix for the quest Argent Crusade, We Are Leaving!
- UPDATE `quest_template` SET `ReqSpellCast1` = 34656 WHERE `entry` = 12504;
- INSERT INTO `creature_ai_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 ('2804102','28041','10','0','100','0','1','3','0','0','16','28041','34656','6','0','0','0','0','0','0','0','0','Quest credit when moving close to talk.');
- -- Fix for the quest A Tangled Skein
- UPDATE `quest_template` SET `ReqCreatureOrGOId1` = 28274, `ReqSpellCast1` = 51165 WHERE `entry` = 12555;
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 28274;
- INSERT INTO `creature_ai_scripts` VALUES
- ( 2827400, 28274, 8, 0, 100, 0, 51165, -1, 0, 0, 23, 1, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 'Increase phase on spellhit.'),
- ( 2827401, 28274, 0, 1, 100, 0, 5100, 5200, 0, 0, 11, 53236, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 'Sprayer explosion.'),
- ( 2827402, 28274, 0, 1, 100, 0, 5400, 5500, 0, 0, 11, 51314, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 'Sprayer spawn corpse.'),
- (2827403, 28274, 0, 1, 100, 0, 5600, 5700, 0, 0, 41, 0, 0, 0, 23, -1, 0, 0, 0, 0, 0, 0, 'Sprayer despawn.');
- -- Fix for the quest Leave No One Behind
- UPDATE `quest_template` SET `ReqSpellCast1` = 50662, `ReqSpellCast2` = 50662, `ReqSpellCast3` = 50662 WHERE `entry` = 12512;
- INSERT INTO `creature_ai_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES ('-40000','<sigh>... Well, I suppose it could be worse.','0','0','0','1','Lamoof Say'),
- ('-40001','Thank you, friend. Were it not for your aid I would be no more.','0','0','0','1','Jonathan Say'),
- ('-40002','I am in your debt, friend. Thank you for my life.','0','0','0','1','Josephine Say');
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 28136;
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 28142;
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 28148;
- INSERT INTO `creature_ai_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 (2813600, 28136, 8, 0, 100, 0, 50662, -1, 0, 0, 1, -40001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Speak on spellhit.'),
- (2814200, 28142, 8, 0, 100, 0, 50662, -1, 0, 0, 1, -40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Speak on spellhit.'),
- (2814800, 28148, 8, 0, 100, 0, 50662, -1, 0, 0, 1, -40002, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Speak on spellhit.');
- -- Fix for the quest Scalps!
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 28600;
- INSERT INTO `creature_ai_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 ('2846505','28465','8','0','100','0','52090','-1','0','0','16','28622','52090','6','0','0','0','0','0','0','0','0','Credit for scalping.'),
- ('2860000','28600','8','0','100','0','52090','-1','0','0','16','28622','52090','6','0','0','0','0','0','0','0','0','Credit for scalping.');
- UPDATE `quest_template` SET `ReqSpellCast1` = 52090 WHERE `entry` = 12659;
- -- Fix for the quest Tails Up
- UPDATE `quest_template` SET `ReqCreatureOrGOId1` = 29327, `ReqCreatureOrGOId2` = 29319, `ReqSpellCast1` = 62105, `ReqSpellCast2` = 62105 WHERE `entry` = 13549;
- UPDATE `creature_template` SET `unit_flags` = 0 WHERE `entry` = 29319;
- INSERT INTO `creature_ai_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 ('2932702','29327','8','0','100','0','62105','-1','0','0','23','1','0','0','11','17743','0','23','0','0','0','0','Fall asleep on spellhit and increase phase by 1.'),
- ('2932703','29327','0','1','100','0','5000','6000','0','0','23','-1','0','0','41','0','0','0','0','0','0','0','Despawn after 5 seconds to avoid abusing.'),
- ('2931902','29319','8','0','100','0','62105','-1','0','0','23','1','0','0','11','17743','0','23','0','0','0','0','Fall asleep on spellhit and increase phase by 1.'),
- ('2931903','29319','0','1','100','0','5000','6000','0','0','23','-1','0','0','41','0','0','0','0','0','0','0','Despawn after 5 seconds to avoid abusing.');
- -- Fix for the quest Latent Power
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 26857;
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 26856;
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 26855;
- INSERT INTO `creature_ai_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 (2685600, 26856, 8, 0, 100, 0, 47542, -1, 0, 0, 16, 26856, 47542, 6, 0, 0, 0, 0, 0, 0, 0, 0, 'Credit for charging.'),
- (2685700, 26857, 8, 0, 100, 0, 47542, -1, 0, 0, 16, 26857, 47542, 6, 0, 0, 0, 0, 0, 0, 0, 0, 'Credit for charging.'),
- (2685500, 26855, 8, 0, 100, 0, 47542, -1, 0, 0, 16, 26855, 47542, 6, 0, 0, 0, 0, 0, 0, 0, 0, 'Credit for charging.');
- -- Fix Southsea Freeboother's ranged attack.
- DELETE FROM `creature_ai_scripts` WHERE (`id`='785604');
- DELETE FROM `creature_ai_scripts` WHERE (`id`='785605');
- DELETE FROM `creature_ai_scripts` WHERE (`id`='785606');
- DELETE FROM `creature_ai_scripts` WHERE (`id`='785607');
- DELETE FROM `creature_ai_scripts` WHERE (`id`='785608');
- DELETE FROM `creature_ai_scripts` WHERE (`id`='785609');
- UPDATE `creature_ai_scripts` SET `id`='785601',`creature_id`='7856',`event_type`='11',`event_inverse_phase_mask`='0',`event_chance`='100',`event_flags`='0',`event_param1`='0',`event_param2`='0',`event_param3`='0',`event_param4`='0',`action1_type`='40',`action1_param1`='2',`action1_param2`='0',`action1_param3`='0',`action2_type`='29',`action2_param1`='20',`action2_param2`='10',`action2_param3`='0',`action3_type`='0',`action3_param1`='0',`action3_param2`='0',`action3_param3`='0',`comment`='Southsea Freebooter - Ranged Combat' WHERE (`id`='785601');
- UPDATE `creature_ai_scripts` SET `id`='785602',`creature_id`='7856',`event_type`='4',`event_inverse_phase_mask`='0',`event_chance`='100',`event_flags`='0',`event_param1`='0',`event_param2`='0',`event_param3`='0',`event_param4`='0',`action1_type`='11',`action1_param1`='6660',`action1_param2`='1',`action1_param3`='3',`action2_type`='29',`action2_param1`='15',`action2_param2`='10',`action2_param3`='0',`action3_type`='0',`action3_param1`='0',`action3_param2`='0',`action3_param3`='0',`comment`='Shoot on aggro.' WHERE (`id`='785602');
- UPDATE `creature_ai_scripts` SET `id`='785603',`creature_id`='7856',`event_type`='0',`event_inverse_phase_mask`='0',`event_chance`='100',`event_flags`='1',`event_param1`='2000',`event_param2`='2800',`event_param3`='2500',`event_param4`='3000',`action1_type`='11',`action1_param1`='6660',`action1_param2`='1',`action1_param3`='3',`action2_type`='29',`action2_param1`='15',`action2_param2`='10',`action2_param3`='0',`action3_type`='0',`action3_param1`='0',`action3_param2`='0',`action3_param3`='0',`comment`='Shoot.' WHERE (`id`='785603');
- -- Fix for the quest Anatoly Will Talk
- UPDATE `quest_template` SET `SpecialFlags` = 0, `ReqCreatureOrGOId1` = 27627, `ReqCreatureOrGOCount1` = 1, `ReqSpellCast1` = 49134 WHERE `entry` = 12330;
- -- Fix for the quest Escape from Silverbrook
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 26875;
- INSERT INTO `creature_ai_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 (2687500, 26875, 10, 0, 100, 0, 1, 35, 0, 0, 33, 28019, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Credit for escaping Silverbrook.');
- -- Fix for the quest Saragosa's End
- UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = 26231;
- DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26231);
- INSERT INTO `creature_ai_scripts` VALUES
- ( 2623100, 26231, 11, 0, 100, 0, 0, 0, 0, 0, 11, 66514, 0, 23, 2, 35, 0, 0, 0, 0, 0, 0, 'Frost Breath on spawn.'),
- ( 2623101, 26231, 4, 0, 100, 0, 0, 0, 0, 0, 11, 51779, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saragosa - Cast Frostfire Bolt and Set Phase 1 on Aggro'),
- ( 2623102, 26231, 9, 5, 100, 1, 0, 40, 3400, 6200, 11, 51779, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saragosa - Cast Frostfire Bolt (Phase 1)'),
- ( 2623103, 26231, 3, 5, 100, 0, 15, 0, 0, 0, 21, 1, 0, 0, 23, 1, 0, 0, 0, 0, 0, 0, 'Saragosa - Start Combat Movement and Set Phase 2 when Mana is at 15% (Phase 1)'),
- ( 2623104, 26231, 9, 5, 100, 0, 35, 80, 0, 0, 21, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Saragosa - Start Combat Movement at 35 Yards (Phase 1)'),
- ( 2623105, 26231, 9, 5, 100, 0, 5, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Saragosa - Prevent Combat Movement at 15 Yards (Phase 1)'),
- ( 2623106, 26231, 3, 3, 100, 1, 100, 30, 100, 100, 23, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Saragosa - Set Phase 1 when Mana is above 30% (Phase 2)'),
- ( 2623107, 26231, 0, 0, 100, 1, 8500, 17500, 20100, 40100, 11, 15063, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saragosa - Cast Frost Nova'),
- ( 2623109, 26231, 1, 0, 100, 0, 8000, 9000, 0, 0, 3, 26232, 0, 0, 2, 14, 0, 0, 0, 0, 0, 0, 'Saragosa - Change to woman.'),
- (2623108, 26231, 7, 0, 100, 0, 0, 0, 0, 0, 22, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 'Saragosa - Set Phase to 0 on Evade');
- -- Fix for Nethermine Burster
- UPDATE `creature_template` SET `unit_flags` = 0 WHERE `entry` = 23285;
- -- Fix for the quest Slim Pickings
- INSERT INTO `creature_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`,`lootcondition`,`condition_value1`,`condition_value2`) VALUES ('26809','36765','-100','1','0','1','1','0','0','0');
- UPDATE `creature_template` SET `faction_A` = 1990, `faction_H` = 1990, `lootid` = 26809, `unit_flags` = 0, `dynamicflags` = 0, `type_flags` = 0 WHERE `entry` = 26809;
- -- Fix Water Terror
- UPDATE `creature_template` SET `unit_flags` = 0, `dynamicflags` = 0 WHERE `entry` = 30633;
Advertisement
Add Comment
Please, Sign In to add comment