ACID-Scripts / CATA

ACID Scripts For CMaNGOS CATA
GNU General Public License v2.0
1 stars 1 forks source link

Baradin Hold scripts for bosses and thrash. #1

Open ghost opened 9 years ago

ghost commented 9 years ago

Author Patch @Xfurry(thanks for work)

-- Creature id: 47120
UPDATE creature_template SET AIName='EventAI' WHERE entry=47120;
DELETE FROM creature_ai_scripts WHERE creature_id=47120;
INSERT INTO creature_ai_scripts VALUES 
('4712001','47120','0','0','100','6','300000','300000','0','0','11','47008','0','3','1','-53','0','0','0','0','0','0','Argaloth - Cast Berserk and Emote'),
('4712002','47120','0','0','100','7','10000','10000','24000','24000','11','88954','0','0','0','0','0','0','0','0','0','0','Argaloth - Cast Consuming Darkness'),
('4712003','47120','0','0','100','7','15000','15000','15000','15000','11','88942','0','0','0','0','0','0','0','0','0','0','Argaloth - Cast Meteor Slash'),
('4712004','47120','2','0','100','6','66','0','0','0','11','88972','0','1','1','-54','0','0','0','0','0','0','Argaloth - Cast Fel Firestorm and Emote at 66% health'),
('4712005','47120','2','0','100','6','33','0','0','0','11','88972','0','1','1','-54','0','0','0','0','0','0','Argaloth - Cast Fel Firestorm and Emote at 33% health');

-- Creature id: 47829
UPDATE creature_template SET AIName='EventAI' WHERE entry=47829;
DELETE FROM creature_ai_scripts WHERE creature_id=47829;
INSERT INTO creature_ai_scripts VALUES 
('4782901','47829','11','0','100','6','0','0','0','0','11','88973','0','0','0','0','0','0','0','0','0','0','Fel Flames - Cast Fel Firestorm on Spawned');

-- Creature id: 52363
UPDATE creature_template SET AIName='EventAI' WHERE entry=52363;
DELETE FROM creature_ai_scripts WHERE creature_id=52363;
INSERT INTO creature_ai_scripts VALUES 
('5236301','52363','0','0','100','6','300000','300000','0','0','11','47008','0','3','1','-53','0','0','0','0','0','0','Occu\'thar - Cast Berserk and Emote'),
('5236302','52363','0','0','100','7','5000','5000','25000','25000','11','96913','0','0','0','0','0','0','0','0','0','0','Occu\'thar - Cast Searing Shadow'),
('5236303','52363','0','0','100','7','15000','15000','30000','40000','11','96872','0','0','0','0','0','0','0','0','0','0','Occu\'thar - Cast Focused Fire'),
('5236304','52363','0','0','100','7','22000','22000','60000','60000','11','96920','0','0','0','0','0','0','0','0','0','0','Occu\'thar - Cast Eyes of Occu\'thar'),
('5236305','52363','30','0','100','7','5','52369','0','0','11','96884','6','1','0','0','0','0','0','0','0','0','Occu\'thar - Cast Focused Fire on Received AI event from Eyestalk');

-- Creature id: 52369
UPDATE creature_template SET AIName='EventAI' WHERE entry=52369;
DELETE FROM creature_ai_scripts WHERE creature_id=52369;
INSERT INTO creature_ai_scripts VALUES 
('5236901','52369','11','0','100','6','0','0','0','0','45','5','100','0','0','0','0','0','0','0','0','0','Eyestalk - Send AI Event on Spawned');

-- Creature id: 52389
UPDATE creature_template SET AIName='EventAI' WHERE entry=52389;
DELETE FROM creature_ai_scripts WHERE creature_id=52389;
INSERT INTO creature_ai_scripts VALUES 
('5238901','52389','11','0','100','6','0','0','0','0','11','96995','0','0','0','0','0','0','0','0','0','0','Eye of Occu\'thar - Cast Eye of Occu\'thar Visual on Spawned'),
('5238902','52389','0','0','100','7','10000','10000','10000','10000','11','96968','0','0','0','0','0','0','0','0','0','0','Eye of Occu\'thar - Cast Occu\'thar\'s Destruction'),
('5238903','52389','4','0','100','6','0','0','0','0','11','96942','6','0','0','0','0','0','0','0','0','0','Eye of Occu\'thar - Cast Gaze of Occu\'thar on Aggro');

-- Creature id: 55869
UPDATE creature_template SET AIName='EventAI' WHERE entry=55869;
DELETE FROM creature_ai_scripts WHERE creature_id=55869;
INSERT INTO creature_ai_scripts VALUES 
('5586901','55869','10','0','100','6','0','45','0','0','1','-55','0','0','0','0','0','0','0','0','0','0','Alizabal - Yell Intro'),
('5586902','55869','4','0','100','6','0','0','0','0','1','-56','0','0','0','0','0','0','0','0','0','0','Alizabal - Yell on Aggro'),
('5586903','55869','0','0','100','6','300000','300000','0','0','11','47008','0','3','0','0','0','0','0','0','0','0','Alizabal - Cast Berserk'),
('5586904','55869','0','0','100','39','5000','5000','15000','15000','11','104936','1','0','11','105065','0','0','0','0','0','0','Alizabal - Cast Skewer or Seething Hate'),
('5586905','55869','0','0','100','7','25000','25000','25000','25000','11','106248','0','0','0','0','0','0','0','0','0','0','Alizabal - Cast Blade dance'),
('5586906','55869','5','0','100','7','0','0','0','0','1','-59','-60','-61','0','0','0','0','0','0','0','0','Alizabal - Yell on Kill'),
('5586907','55869','6','0','100','6','0','0','0','0','1','-58','0','0','0','0','0','0','0','0','0','0','Alizabal - Yell on Death'),
('5586908','55869','21','0','100','6','0','0','0','0','1','-57','0','0','0','0','0','0','0','0','0','0','Alizabal - Yell on Reached Home');

-- Creature id: 56350
UPDATE creature_template SET AIName='EventAI' WHERE entry=56350;
DELETE FROM creature_ai_scripts WHERE creature_id=56350;
INSERT INTO creature_ai_scripts VALUES 
('5635001','56350','0','0','100','7','15000','15000','15000','15000','11','105859','1','0','0','0','0','0','0','0','0','0','Disciple of Hate - Cast Run Through'),
('5635002','56350','0','0','100','7','25000','25000','25000','25000','11','105855','0','0','0','0','0','0','0','0','0','0','Disciple of Hate - Cast Whirl of Blades');

-- Texts
DELETE FROM creature_ai_texts WHERE entry IN (-53, -54, -55, -56, -57, -58, -59, -60, -61);
INSERT INTO `creature_ai_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`comment`,`emote`) VALUES 
('-53','%s goes into a berserker rage!','0','3','0','Generic - Emote Berserk','0'),
('-54','%s begins to cast Fel Firestorm!','0','3','0','Argaloth - Emote Fel Firestorm','0'),
('-55','How I HATE this place. My captors may be long-dead, but don\'t think I won\'t take it all out on you miserable treasure-hunters.','25779','1','0','Alizabal - Say Intro','0'),
('-56','I hate adventurers.','25777','1','0','Alizabal - Say Aggro','0'),
('-57','I hate incompetent raiders.','25780','1','0','Alizabal - Say Wipe','0'),
('-58','I hate... every one of you...','25778','1','0','Alizabal - Say Death','0'),
('-59','I still hate you.','25781','1','0','Alizabal - Say Slay 1','0'),
('-60','Do you hate me? Good.','25782','1','0','Alizabal - Say Slay 2','0'),
('-61','I hate mercy.','25783','1','0','Alizabal - Say Slay 3','0');

Bugs on Argaloth: On Aggro cast Fel Firestorm(ignoring EVENT_T_HP) Alizabal - Has Aura Blade Dance should move random target(has delay urand(5000, 7000).

ghost commented 9 years ago

The script is tested, you can safely do push!