From 184d8c3535eb529ff334c2b7cdf57c82eba5b874 Mon Sep 17 00:00:00 2001 From: Grz3s Date: Sat, 13 Jul 2024 16:18:12 +0200 Subject: [PATCH] [5360][ACID] q.13125 'The Air Stands Still' Scripted Part of: https://github.com/cmangos/wotlk-db/issues/373 --- ACID/acid_wotlk.sql | 38 +++++++++++++++---- Updates/5360_q.13125.sql | 82 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+), 7 deletions(-) create mode 100644 Updates/5360_q.13125.sql diff --git a/ACID/acid_wotlk.sql b/ACID/acid_wotlk.sql index b29470966..f4835fcb6 100644 --- a/ACID/acid_wotlk.sql +++ b/ACID/acid_wotlk.sql @@ -2645,7 +2645,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers -- Knight of the Ebon Blade 31094 ('3109401','31094','11','0','100','0','0','0','0','0','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Knight of the Ebon Blade - Set Phase 1 on Spawn'), ('3109402','31094','0','5','100','1025','6000','10000','6000','9000','0','0','11','52374','1','0','0','0','0','0','0','0','0','0','Knight of the Ebon Blade - Cast Blood Strike (Phase1)'), -('3109403','31094','0','5','100','1025','14000','18000','22000','26000','0','0','11','52373','1','0','11','52372','1','0','0','0','0','0','Knight of the Ebon Blade - Cast Plague Strike or Icy Touch (Phase 1)'), +('3109403','31094','0','5','100','1057','14000','18000','22000','26000','0','0','11','52373','1','0','11','52372','1','0','0','0','0','0','Knight of the Ebon Blade - Cast Plague Strike or Icy Touch (Phase 1)'), ('3109404','31094','1','5','100','1','1000','1000','3000','3000','0','0','53','20518','0','0','53','20517','0','0','53','20516','0','0','Knight of the Ebon Blade - START_RELAY_SCRIPT X3 on OOC Timer (Phase 1)'), ('3109405','31094','23','0','100','0','29266','1','0','0','0','0','18','256','0','0','18','512','0','0','22','2','0','0','Knight of the Ebon Blade - Set UnitFlags and Phase 2 on Permanent Feign Death'), -- Val\'kyr Battle-maiden 31095 @@ -28609,23 +28609,47 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('3075107','30751','30','0','100','0','5','30751','0','0','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Kul\'galar Oracle - Set Phase 1 on Receive AI Event Custom A'), ('3075108','30751','1','1','100','1','10000','60000','60000','120000','0','0','53','20829','0','0','0','0','0','0','0','0','0','0','Kul\'galar Oracle - START_RELAY_SCRIPT on OOC Timer (Phase 1)'), -- Salranax the Flesh Render 30829 -('3082901','30829','4','0','100','0','0','0','0','0','0','0','57','2','35','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Enable Range Mode on Aggro'), -('3082902','30829','27','0','100','1','18100','1','15000','30000','0','0','11','18100','0','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Frost Armor on Missing Buff'), -('3082903','30829','0','0','100','1025','7700','15500','10900','15700','0','0','11','15244','1','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Cone of Cold'), -('3082904','30829','9','0','100','1025','0','40','3400','4800','0','0','11','15242','1','256','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Fireball'), -('3082905','30829','13','0','100','1024','0','0','0','0','0','0','11','15122','1','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Counterspell on Target Casting'), +('3082901','30829','27','0','100','1','18100','1','15000','30000','0','0','11','18100','0','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Frost Armor on Missing Buff'), +('3082902','30829','0','0','100','1025','7700','15500','10900','15700','0','0','11','15244','1','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Cone of Cold'), +('3082903','30829','9','0','100','1025','0','40','6000','9000','0','0','11','15242','1','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Fireball'), +('3082904','30829','13','0','100','1024','0','0','0','0','0','0','11','15122','1','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Counterspell on Target Casting'), +('3082905','30829','8','0','100','1','57906','-1','0','0','0','0','11','57910','0','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Cast Death Gate on Spell Hit'), +('3082906','30829','6','0','100','0','0','0','0','0','0','0','45','5','50','0','0','0','0','0','0','0','0','0','Salranax the Flesh Render - Send Event A on Death'), -- Underking Talonox 30830 ('3083001','30830','9','0','100','1025','0','5','21000','28000','0','0','11','50284','0','0','0','0','0','0','0','0','0','0','Underking Talonox - Cast Blinding Swarm'), ('3083002','30830','0','0','100','1025','18000','26000','36000','48000','0','0','11','60802','1','0','0','0','0','0','0','0','0','0','Underking Talonox - Cast Mandible Crush'), +('3083003','30830','8','0','100','1','57906','-1','0','0','0','0','11','57890','0','0','0','0','0','0','0','0','0','0','Underking Talonox - Cast Death Gate on Spell Hit'), +('3083004','30830','6','0','100','0','0','0','0','0','0','0','45','5','50','0','0','0','0','0','0','0','0','0','Underking Talonox - Send Event A on Death'), -- High Priest Yath'amon 30831 ('3083101','30831','0','0','100','1025','3000','8000','24000','36000','0','0','11','38243','1','0','0','0','0','0','0','0','0','0','High Priest Yath\'amon - Cast Mind Flay'), ('3083102','30831','9','0','100','1025','0','20','11000','15000','0','0','11','4962','1','0','0','0','0','0','0','0','0','0','High Priest Yath\'amon - Cast Encasing Webs'), ('3083103','30831','9','0','100','1025','0','5','21000','28000','0','0','11','61705','1','0','0','0','0','0','0','0','0','0','High Priest Yath\'amon - Cast Venomous Bite'), ('3083104','30831','0','0','100','1025','48000','60000','48000','68000','0','0','11','34322','0','0','0','0','0','0','0','0','0','0','High Priest Yath\'amon - Cast Psychic Scream'), +('3083105','30831','8','0','100','1','57906','-1','0','0','0','0','11','57916','0','0','0','0','0','0','0','0','0','0','High Priest Yath\'amon - Cast Death Gate on Spell Hit'), +('3083106','30831','6','0','100','0','0','0','0','0','0','0','45','5','50','0','0','0','0','0','0','0','0','0','High Priest Yath\'amon - Send Event A on Death'), -- Vindicator Maraad 30833 +-- Highlord Darion Mograine 30838 +('3083801','30838','11','0','100','0','0','0','0','0','0','0','53','20927','0','0','0','0','0','0','0','0','0','0','Highlord Darion Mograine - START_RELAY_SCRIPT on Spawn'), +('3083802','30838','0','0','100','1057','6000','12000','6000','12000','0','0','11','49930','1','0','11','49895','1','0','11','49909','4','32','Highlord Darion Mograine - Cast Blood Strike (Rank 6) or Death Coil or Icy Touch'), +('3083803','30838','0','0','100','1025','16000','24000','48000','62000','0','0','11','51425','1','0','0','0','0','0','0','0','0','0','Highlord Darion Mograine - Cast Obliterate (Rank 4)'), +('3083804','30838','30','0','100','0','5','30830','0','0','0','0','53','20928','0','0','0','0','0','0','0','0','0','0','Highlord Darion Mograine - START_RELAY_SCRIPT on Receive AI Event Custom A'), -- Jayde 30839 +('3083901','30839','11','0','100','0','0','0','0','0','0','0','53','20924','0','0','0','0','0','0','0','0','0','0','Jayde - START_RELAY_SCRIPT on Spawn'), +('3083902','30839','0','0','100','1025','6000','10000','6000','9000','0','0','11','52374','1','0','0','0','0','0','0','0','0','0','Jayde - Cast Blood Strike'), +('3083903','30839','0','0','100','1057','14000','18000','22000','26000','0','0','11','52373','1','0','11','52372','1','0','0','0','0','0','Jayde - Cast Plague Strike or Icy Touch'), +('3083904','30839','30','0','100','0','5','30831','0','0','0','0','53','20925','0','0','0','0','0','0','0','0','0','0','Jayde - START_RELAY_SCRIPT on Receive AI Event Custom A'), -- Munch 30840 --- Melt 30851 +('3084001','30840','11','0','100','0','0','0','0','0','0','0','53','20930','0','0','0','0','0','0','0','0','0','0','Munch - START_RELAY_SCRIPT on Spawn'), +('3084002','30840','4','0','100','0','0','0','0','0','0','0','11','57913','0','0','1','31487','0','0','0','0','0','0','Munch - Cast Summon Ghoul and Say on Aggro'), +('3084003','30840','0','0','100','1025','6000','10000','6000','9000','0','0','11','52374','1','0','0','0','0','0','0','0','0','0','Munch - Cast Blood Strike'), +('3084004','30840','0','0','100','1057','14000','18000','22000','26000','0','0','11','52373','1','0','11','52372','1','0','0','0','0','0','Munch - Cast Plague Strike or Icy Touch'), +('3084005','30840','30','0','100','0','5','30829','0','0','0','0','53','20931','0','0','56','0','0','0','0','0','0','0','Munch - START_RELAY_SCRIPT and Despawn Guardians on Receive AI Event Custom A'), +-- Death Gate (Mograine) 30841 +('3084101','30841','1','0','100','0','1000','1000','0','0','0','0','53','20926','0','0','0','0','0','0','0','0','0','0','Death Gate (Mograine) - START_RELAY_SCRIPT on OOC Timer'), +-- Death Gate (Munch) 30850 +('3085001','30850','1','0','100','0','1000','1000','0','0','0','0','53','20929','0','0','0','0','0','0','0','0','0','0','Death Gate (Munch) - START_RELAY_SCRIPT on OOC Timer'), +-- Death Gate (Jayde) 30852 +('3085201','30852','1','0','100','0','1000','1000','0','0','0','0','53','20923','0','0','0','0','0','0','0','0','0','0','Death Gate (Jayde) - START_RELAY_SCRIPT on OOC Timer'), -- Orgrim's Hammer Shadow-Warder 30866 -- Skybreaker Shield-Mage 30867 -- Scourge Package 30887 diff --git a/Updates/5360_q.13125.sql b/Updates/5360_q.13125.sql new file mode 100644 index 000000000..dd1d8d065 --- /dev/null +++ b/Updates/5360_q.13125.sql @@ -0,0 +1,82 @@ +-- q.13125 'The Air Stands Still' + +-- Death Gate (Jayde) 30852 +UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Faction = 35, UnitFlags = 33554432 WHERE entry = 30852; +DELETE FROM dbscripts_on_relay WHERE id = 20923; +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(20923,1,31,30839,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'Part of Death Gate (Jayde) 30852 EAI: search for 30839 - terminate if found'), +(20923,500,15,57917,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Death Gate (Jayde) 30852 EAI: cast 57917'); +-- Jayde 30839 +UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Faction = 2051, UnitFlags = 32768, EquipmentTemplateId = 1641 WHERE entry = 30839; +DELETE FROM dbscripts_on_relay WHERE id IN (20924,20925); +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +-- 20924 +(20924,1,0,0,0,0,0,0,0x04,31489,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: Say'), +(20924,2,1,6,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: emote'), +(20924,100,31,30831,50,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: search for 30831'), +(20924,200,26,0,0,0,30831,60,1,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: attack buddy'), +-- 20925 +(20925,1,1,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: emote'), +(20925,2,0,0,0,0,0,0,0x04,31490,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: Say'), +(20925,10,15,57899,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: cast 57899'), +(20925,3,18,7000,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: despawn self'), +(20925,100,31,30852,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: search for 30852'), +(20925,500,37,0,0,0,30852,50,1,0,0,0,0,0,0,0,0,'Part of Jayde 30839 EAI: move towards buddy'); + +-- Death Gate (Mograine) 30841 +UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Faction = 35, UnitFlags = 33554432 WHERE entry = 30841; +DELETE FROM dbscripts_on_relay WHERE id = 20926; +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(20926,1,31,30838,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'Part of Death Gate (Mograine) 30841 EAI: search for 30838 - terminate if found'), +(20926,500,15,57892,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Death Gate (Mograine) 30841 EAI: cast 57892'); +-- Highlord Darion Mograine 30838 +UPDATE creature_template SET MinLevel = 83, MaxLevel = 83, UnitClass = 2, Expansion = 2, HealthMultiplier = 800, PowerMultiplier = 800, Faction = 2051, UnitFlags = 32768, EquipmentTemplateId = 365 WHERE entry = 30838; +DELETE FROM creature_template_addon WHERE entry IN (30838); +INSERT INTO creature_template_addon (entry, mount, stand_state, sheath_state, pvp_flags, emote, moveflags, auras) VALUES +(30838,0,0,0,0,0,0,'42459'); +DELETE FROM dbscripts_on_relay WHERE id IN (20927,20928); +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +-- 20927 +(20927,1,0,0,0,0,0,0,0x04,31455,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: Say'), +(20927,2,1,397,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: emote'), +(20927,100,31,30830,50,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: search for 30831'), +(20927,200,26,0,0,0,30830,60,1,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: attack buddy'), +-- 20928 +(20928,1,1,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: emote'), +(20928,2,0,0,0,0,0,0,0x04,31456,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: Say'), +(20928,10,15,57899,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: cast 57899'), +(20928,3,18,7000,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: despawn self'), +(20928,100,31,30841,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: search for 30852'), +(20928,500,37,0,0,0,30841,50,1,0,0,0,0,0,0,0,0,'Part of Highlord Darion Mograine 30838 EAI: move towards buddy'); + +-- Death Gate (Munch) 30850 +UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Faction = 35, UnitFlags = 33554432 WHERE entry = 30850; +DELETE FROM dbscripts_on_relay WHERE id = 20929; +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(20929,1,31,30840,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'Part of Death Gate (Munch) 30850 EAI: search for 30840 - terminate if found'), +(20929,500,15,57911,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Death Gate (Munch) 30850 EAI: cast 57911'); +-- Munch 30840 +UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, UnitClass = 2, Expansion = 2, HealthMultiplier = 35, PowerMultiplier = 10, Faction = 2051, UnitFlags = 32768, EquipmentTemplateId = 448 WHERE entry = 30840; +DELETE FROM dbscripts_on_relay WHERE id IN (20930,20931); +INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +-- 20930 +(20930,1,0,0,0,0,0,0,0x04,31486,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: Say'), +(20930,2,1,53,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: emote'), +(20930,100,31,30829,50,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: search for 30829'), +(20930,200,26,0,0,0,30829,60,1,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: attack buddy'), +-- 20931 +(20931,1,1,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: emote'), +(20931,2,0,0,0,0,0,0,0x04,31488,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: Say'), +(20931,3,18,7000,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: despawn self'), +(20931,10,15,57899,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: cast 57899'), +(20931,100,31,30850,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: search for 30850'), +(20931,500,37,0,0,0,30850,50,1,0,0,0,0,0,0,0,0,'Part of Munch 30840 EAI: move towards buddy'); +-- Melt 30851 +UPDATE creature_template SET MinLevel = 78, MaxLevel = 78, UnitClass = 1, Expansion = 2, Faction = 2051, UnitFlags = 32768 WHERE entry = 30851; +-- teleport fixed +DELETE FROM dbscripts_on_spell WHERE id IN (57896); +INSERT INTO dbscripts_on_spell (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES +(57896,0,15,57897,0,0,0,0,0,0,0,0,0,0,0,0,0,''); +DELETE FROM spell_target_position WHERE Id IN(57897); +INSERT INTO spell_target_position VALUES +(57897,571,6390.53,237.012,395.813,2.648);