The Nexus Trash script

bulle7proof

New Member
Joined
Feb 10, 2009
Messages
344
Reaction score
68
Code:
UPDATE creature_template set AIName = 'EventAI' where entry in  (26716, 26722, 26727, 26728, 26729, 26730, 26734, 26735, 26737, 26782,  26792,  26793,  26800,  26802,  26805, 26918, 28231, 26746, 27949, 26796);
DELETE FROM `creature_ai_scripts` WHERE `creature_id` in (26716, 26722, 26727, 26728, 26729, 26730, 26734, 26735, 26737, 26782,  26792,  26793,  26800,  26802,  26805, 26918, 28231, 26746, 27949, 26796);

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
('2671601','26716','0','0','100','3','4000','6000','29000','35000','11','17741','0','0','0','0','0','0','0','0','0','0','Azure warder - cast mana shield (Normal)'),
('2671602','26716','0','0','100','5','4000','6000','29000','35000','11','56778','0','0','0','0','0','0','0','0','0','0','Azure warder - cast mana shield (Heroic)'),
('2671603','26716','0','0','100','3','9000','11000','9000','12000','11','6726','1','0','0','0','0','0','0','0','0','0','Azure warder - cast silence (Normal)'),
('2671604','26716','0','0','100','5','9000','11000','9000','12000','11','56777','1','0','0','0','0','0','0','0','0','0','Azure warder - cast silence (Heroic)'),
('2672201','26722','0','0','100','3','4000','6000','9000','15000','11','37132','1','0','0','0','0','0','0','0','0','0','Azure Magus - cast Arcane Shock (Normal)'),
('2672202','26722','0','0','100','5','4000','6000','9000','15000','11','56776','1','0','0','0','0','0','0','0','0','0','Azure Magus - cast Arcane Shock (Heroic)'),
('2672203','26722','0','0','100','3','9000','11000','9000','12000','11','15530','1','1','0','0','0','0','0','0','0','0','Azure Magus - cast Frostbolt (Normal)'),
('2672204','26722','0','0','100','5','9000','11000','9000','12000','11','56775','1','1','0','0','0','0','0','0','0','0','Azure Magus - cast Frostbolt (Heroic)'),
('2672701','26727','4','0','100','6','0','0','0','0','30','1','2','3','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - Random phase to choose arcane, frost or fire pell set'),
('2672702','26727','0','13','100','3','4000','6000','8000','11000','11','34933','0','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 1 - arcane) cast Arcane Explosion (Normal)'),
('2672703','26727','0','13','100','5','4000','6000','8000','11000','11','56825','0','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 1 - arcane) cast Arcane Explosion (Heroic)'),
('2672704','26727','0','13','100','7','8000','9000','9000','15000','11','47789','0','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 1 - arcane) cast Arcane tap'),
('2672705','26727','0','13','100','3','1000','1200','60000','60000','11','50182','0','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 1 - arcane) cast Arcane aura'),
('2672706','26727','0','13','100','5','1000','1200','60000','60000','11','56827','0','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 1 - arcane) cast Arcane aura (Heroic)'),
('2672707','26727','0','11','100','3','3000','5000','9000','12000','11','12466','1','1','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 2 - fire) cast fireball (Normal)'),
('2672708','26727','0','11','100','5','3000','5000','9000','12000','11','17290','1','1','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 2 - fire) cast fireball (Heroic)'),
('2672709','26727','0','11','100','7','4000','6000','12000','18000','11','47784','1','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 2 - fire) cast immolation trap'),
('2672710','26727','0','11','100','3','7000','9000','15000','28000','11','36808','4','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 2 - fire) cast reign of fire hormal'),
('2672711','26727','0','11','100','5','7000','9000','15000','28000','11','39376','4','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 2 - fire) cast reign of fire (Heroic)'),
('2672712','26727','0','7','100','3','3000','6000','9000','12000','11','12737','1','1','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 3 - ice) cast frost bolt (Normal)'),
('2672713','26727','0','7','100','5','3000','6000','9000','12000','11','56837','1','1','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 3 - ice) cast frost bolt (Heroic)'),
('2672714','26727','0','7','100','7','7000','9000','11000','18000','11','55040','1','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 3 - ice) cast frost trap'),
('2672715','26727','0','7','100','3','10000','12000','11000','15000','11','15244','1','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 3 - ice) cast cone of cold (Normal)'),
('2672716','26727','0','7','100','5','10000','12000','11000','15000','11','38384','1','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - (Phase 3 - ice) cast cone of cold (Heroic)'),
('2672717','26727','0','0','50','7','9000','9000','19000','22000','11','13323','4','0','0','0','0','0','0','0','0','0','Mage Hunter Ascendant - cast polymorp'),
('2672801','26728','0','0','100','3','4000','6000','9500','15000','11','50198','1','0','0','0','0','0','0','0','0','0','Mage Hunter Initiate - cast mana burn (Normal)'),
('2672802','26728','0','0','100','5','4000','6000','9500','15000','11','56860','1','0','0','0','0','0','0','0','0','0','Mage Hunter Initiate - cast mana burn (Heroic)'),
('2672803','26728','0','0','100','7','9000','11000','9500','15000','11','17682','1','1','0','0','0','0','0','0','0','0','Mage Hunter Initiate - cast drain mana'),
('2672804','26728','0','0','100','7','12000','15000','9500','15000','11','25058','0','1','0','0','0','0','0','0','0','0','Mage Hunter Initiate - cast renew'),
('2672901','26729','0','0','100','7','3000','5000','15000','19000','11','47779','0','0','0','0','0','0','0','0','0','0','Steward - cast arcane torrent'),
('2672902','26729','0','0','100','7','7000','9000','9500','15000','11','47780','1','0','0','0','0','0','0','0','0','0','Steward - cast spelbreaker'),
('2673001','26730','0','0','100','7','3000','4000','15000','19000','11','50131','0','0','0','0','0','0','0','0','0','0','Mage Slayer - cast draw magic'),
('2673002','26730','0','0','100','7','8000','10000','9500','15000','11','30849','1','0','0','0','0','0','0','0','0','0','Mage Slayer - cast spell lock'),
('2673401','26734','0','0','100','7','3000','4000','12000','19000','11','39171','1','0','0','0','0','0','0','0','0','0','Azure Enforcer - cast mortal strike'),
('2673402','26734','0','0','100','7','6300','8100','9500','15000','11','15284','1','0','0','0','0','0','0','0','0','0','Azure Enforcer - cast cleave'),
('2673501','26735','0','0','100','3','4000','6000','9500','15000','11','38881','1','0','0','0','0','0','0','0','0','0','Azure Scale-Binder - cast Arcane Blast (Normal)'),
('2673502','26735','0','0','100','5','4000','6000','9500','15000','11','56969','1','0','0','0','0','0','0','0','0','0','Azure Scale-Binder - cast Arcane Blast (Heroic)'),
('2673503','26735','14','0','100','3','9000','25','9500','15000','11','15586','6','1','0','0','0','0','0','0','0','0','Azure Scale-Binder - cast Heal (Normal)'),
('2673504','26735','14','0','100','5','9000','25','9500','15000','11','61326','6','1','0','0','0','0','0','0','0','0','Azure Scale-Binder - cast Heal (Heroic)'),
('2673701','26737','0','0','100','3','4000','6000','9500','15000','11','48054','1','0','0','0','0','0','0','0','0','0','Crazed Mana-Surge - cast mana burn (Normal)'),
('2673702','26737','0','0','100','5','4000','6000','9500','15000','11','57047','1','0','0','0','0','0','0','0','0','0','Crazed Mana-Surge - cast mana burn (Heroic)'),
('2673703','26737','0','0','100','3','9000','11000','9500','15000','11','47696','1','1','0','0','0','0','0','0','0','0','Crazed Mana-Surge - cast arcane nova (Normal)'),
('2673704','26737','0','0','100','5','9000','11000','9500','15000','11','57046','1','1','0','0','0','0','0','0','0','0','Crazed Mana-Surge - cast arcane nowa (Heroic)'),
('2673705','26737','6','0','100','6','0','0','0','0','11','29882','0','7','0','0','0','0','0','0','0','0','Crazed Mana-Surge - cast loose mana on deat(Heroic)'),
('2674601','26746','0','0','100','7','3000','4000','1000','1500','11','33833','1','0','0','0','0','0','0','0','0','0','Crazed Mana-Wraith - cast arcane missles'),
('2678201','26782','0','0','100','3','4000','6000','8500','12000','11','33688','1','0','0','0','0','0','0','0','0','0','Crystalline Keeper - cast crystal strike (Normal)'),
('2678202','26782','0','0','100','5','4000','6000','8500','12000','11','57052','1','0','0','0','0','0','0','0','0','0','Crystalline Keeper - cast crystal strike (Heroic)'),
('2678203','26782','4','0','100','6','0','0','0','0','11','47699','0','1','0','0','0','0','0','0','0','0','Crystalline Keeper - cast crystal bark'),
('2679201','26792','0','0','100','3','4000','6000','9500','15000','11','47698','1','0','0','0','0','0','0','0','0','0','Crystalline Protector - cast crystal chain (Normal)'),
('2679202','26792','0','0','100','5','4000','6000','9500','15000','11','57050','1','0','0','0','0','0','0','0','0','0','Crystalline Protector - cast crystal chain (Heroic)'),
('2679203','26792','0','0','100','3','9000','11000','9500','15000','11','50302','0','1','0','0','0','0','0','0','0','0','Crystalline Protector - cast shard spray (Normal)'),
('2679204','26792','0','0','100','5','9000','11000','9500','15000','11','57051','0','1','0','0','0','0','0','0','0','0','Crystalline Protector - cast shard spray (Heroic)'),
('2679205','26792','0','0','100','7','12000','15000','11100','19000','11','30633','0','1','0','0','0','0','0','0','0','0','Crystalline Protector - cast thunderclap'),
('2679301','26793','0','0','100','7','3000','4000','9500','15000','11','48053','1','0','0','0','0','0','0','0','0','0','Crystalline Frayer - cast ensnare'),
('2679302','26793','4','0','100','6','0','0','0','0','11','48058','0','0','0','0','0','0','0','0','0','0','Crystalline Frayer - cast crystal bloom'),
('2679303','26793','2','0','100','6','35','1','0','0','11','48082','0','0','18','33554752','0','0','22','1','0','0','Crystalline Frayer - cast seed pod set Phase 1'),
('2679304','26793','0','1','100','3','100','0','3800','5000','11','52067','0','0','0','0','0','0','0','0','0','0','Crystalline Frayer - Aura of Regeneration (Normal)'),
('2679305','26793','0','1','100','5','100','0','3800','5000','11','57056','0','0','0','0','0','0','0','0','0','0','Crystalline Frayer - Aura of Regeneration (Heroic)'),
('2679306','26793','2','1','100','6','100','85','0','0','24','0','0','0','22','0','0','0','19','33554752','0','0','Crystalline Frayer - evade and set Phase 0'),
('2679600','26796','4','0','100','6','0','0','0','0','28','0','47543','0','0','0','0','0','11','31403','0','7','Commander Stoutbeard - prison remove'),
('2679602','26796','0','0','100','7','3000','4000','11000','15000','11','60067','4','7','0','0','0','0','0','0','0','0','Commander Stoutbeard - cast charge'),
('2679603','26796','0','0','100','7','6000','8000','19500','25000','11','38618','0','7','0','0','0','0','0','0','0','0','Commander Stoutbeard - cast whirlwind'),
('2679604','26796','0','0','100','5','13000','15000','45000','55000','11','19134','0','0','0','0','0','0','0','0','0','0','Commander Stoutbeard - cast Frightening Shout'),
-- ('2679605','26796','10','0','100','6','1','500','5000','5000','36','26798','0','0','0','0','0','0','0','0','0','0','Commander Stoutbeard - template change'),
('2680000','26800','4','0','100','6','0','0','0','0','28','0','47543','0','0','0','0','0','0','0','0','0','Alliance Berserker - prison remove'),
('2680001','26800','0','0','100','7','3000','5000','15000','19000','11','38682','0','7','0','0','0','0','0','0','0','0','Alliance Berserker - cast warstomp'),
('2680002','26800','0','0','100','7','6000','8000','9500','15000','11','47774','0','7','0','0','0','0','0','0','0','0','Alliance Berserker - cast frenzy'),
('2680003','26800','0','0','100','7','12000','15000','40000','58000','11','21049','0','0','0','0','0','0','0','0','0','0','Alliance Berserker - cast bloodlust'),
-- ('2680004','26800','10','0','100','6','1','500','5000','5000','36','26799','0','0','0','0','0','0','0','0','0','0','Alliance Berserker - template change'),
('2680200','26802','4','0','100','6','0','0','0','0','28','0','47543','0','0','0','0','0','0','0','0','0','Alliance Ranger - prison remove'),
('2680201','26802','9','0','100','3','5','48','800','1100','11','15620','1','0','0','0','0','0','0','0','0','0','Alliance Ranger - cast shoot (Normal)'),
('2680202','26802','9','0','100','5','5','48','800','1100','11','22907','1','0','0','0','0','0','0','0','0','0','Alliance Ranger - cast shoot (Heroic)'),
('2680203','26802','9','0','100','3','5','48','9500','10000','11','47777','1','1','0','0','0','0','0','0','0','0','Alliance Ranger - cast Incendiary Shot (Normal)'),
('2680204','26802','9','0','100','5','5','48','9500','10000','11','56933','1','1','0','0','0','0','0','0','0','0','Alliance Ranger - cast Incendiary Shot (Heroic)'),
('2680205','26802','0','0','100','7','12000','15000','16100','19000','11','48191','0','1','0','0','0','0','0','0','0','0','Alliance Ranger - cast rapid shot'),
('2680206','26802','9','0','100','7','5','48','5000','9000','29','20','0','0','0','0','0','0','0','0','0','0','Alliance Ranger -  Range Movement'),
-- ('2680207','26802','10','0','100','6','1','500','5000','5000','36','26801','0','0','0','0','0','0','0','0','0','0','Alliance Ranger - template change'),
('2680500','26805','4','0','100','6','0','0','0','0','28','0','47543','0','0','0','0','0','0','0','0','0','Alliance Cleric - cast remove prison (Normal)'),
('2680501','26805','0','0','100','3','2000','4000','9500','15000','11','17139','0','0','0','0','0','0','0','0','0','0','Alliance Cleric - cast Power Word: Shield (Normal)'),
('2680502','26805','0','0','100','5','2000','4000','9500','15000','11','35944','0','0','0','0','0','0','0','0','0','0','Alliance Cleric - cast Power Word: Shield (Heroic)'),
('2680503','26805','0','0','100','3','9000','11000','9500','15000','11','47697','1','1','0','0','0','0','0','0','0','0','Alliance Cleric - cast Shadow Word: Death (Normal)'),
('2680504','26805','0','0','100','5','9000','11000','9500','15000','11','56920','1','1','0','0','0','0','0','0','0','0','Alliance Cleric - cast Shadow Word: Death (Heroic)'),
('2680505','26805','14','0','100','3','10000','25','12100','19000','11','17843','6','1','0','0','0','0','0','0','0','0','Alliance Cleric - cast Flash Heal (Normal)'),
('2680506','26805','14','0','100','5','10000','25','12100','19000','11','56919','6','1','0','0','0','0','0','0','0','0','Alliance Cleric - cast Flash Heal (Heroic)'),
-- ('2680507','26805','10','0','100','6','1','500','5000','5000','36','26803','0','0','0','0','0','0','0','0','0','0','Alliance Cleric - template change'),
('2691801','26918','0','2','100','7','1000','2000','700','1000','11','47688','1','0','0','0','0','0','0','0','0','0','Chaotic Rift - cast Chaotic Energy Burst (Phase 0)'),
('2691802','26918','8','0','100','6','47747','-1','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Chaotic Rift - Set Phase 1 when charged by Anomalus'),
('2691803','26918','0','1','100','6','1000','2000','0','0','11','47733','0','0','0','0','0','0','0','0','0','0','Chaotic Rift - cast Charged Chaotic Energy Burst aura(Phase 1)'),
('2691804','26918','0','1','100','6','44000','44000','0','0','22','0','0','0','28','47733','0','0','0','0','0','0','Chaotic Rift - Return to Phase 0 after duff expiration (Phase 1)'),
('2691805','26918','6','0','100','6','0','0','0','0','22','0','0','0','0','0','0','0','0','0','0','0','Chaotic Rift - Return to Phase 0 on death RESET'),
('2691806','26918','0','0','100','6','1000','3000','25000','35000','12','26746','4','60000','0','0','0','0','0','0','0','0','Chaotic Rift - Summon Mana-Wrait'),
('2794900','27949','4','0','100','6','0','0','0','0','28','0','47543','0','0','0','0','0','11','31403','0','7','Alliance Commander - prison remove'),
('2794902','27949','0','0','100','7','3000','4000','11000','15000','11','60067','4','7','0','0','0','0','0','0','0','0','Alliance Commander - cast charge'),
('2794903','27949','0','0','100','7','6000','8000','19500','25000','11','38618','0','7','0','0','0','0','0','0','0','0','Alliance Commander - cast whirlwind'),
-- ('2794904','27949','10','0','100','6','1','500','5000','5000','36','27947','0','0','0','0','0','0','0','0','0','0','Alliance Commander - template change'),
('2823101','28231','0','0','100','3','12000','15000','19500','35000','11','51972','0','3','0','0','0','0','0','0','0','0','Crystalline Tender - cast Tranquility (Normal)'),
('2823102','28231','0','0','100','5','12000','15000','19500','35000','11','57054','0','3','0','0','0','0','0','0','0','0','Crystalline Tender - cast Tranquility (Heroic)'),
('2823103','28231','0','0','100','7','2000','5000','11100','19000','11','50994','0','1','0','0','0','0','0','0','0','0','Crystalline Tender - cast Toughen Hide');


This will make your nexus'mobs fully scripted!