Skip to content

Commit

Permalink
[5339][ACID] q.12893 'Free Your Mind'
Browse files Browse the repository at this point in the history
Fixed

Part of:
#378
  • Loading branch information
Grz3s committed Jun 18, 2024
1 parent 9496d53 commit 62f0049
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 11 deletions.
37 changes: 26 additions & 11 deletions ACID/acid_wotlk.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28261,19 +28261,29 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('2973801','29738','27','0','100','1','50689','1','15000','30000','0','0','11','50689','0','0','0','0','0','0','0','0','0','0','Death Knight Master - Cast Blood Presence (Rank 1) on Missing Buff'),
('2973802','29738','0','0','100','1025','3000','7000','6000','9000','0','0','11','50688','1','0','0','0','0','0','0','0','0','0','Death Knight Master - Cast Plague Strike'),
-- The Ocular 29747 -- kill credit should happen via spell: 55288
('2974701','29747','11','0','100','0','0','0','0','0','0','0','61','1','0','0','0','0','0','0','0','0','0','0','The Ocular - xxxx on Spawn'),
('2974701','29747','11','0','100','0','0','0','0','0','0','0','61','1','0','0','0','0','0','0','0','0','0','0','The Ocular - Set IMMOBILIZED_STATE on Spawn'),
('2974702','29747','0','0','100','1025','0','0','5000','5000','0','0','11','55269','1','256','0','0','0','0','0','0','0','0','The Ocular - Cast Spark'),
('2974703','29747','6','0','100','0','0','0','0','0','0','0','33','29803','6','0','0','0','0','0','0','0','0','0','The Ocular - Cast It\'s All Fun and Games: The Ocular On Death'),
-- Vile 29769
('2976901','29769','4','0','100','0','0','0','0','0','0','0','1','30461','0','0','0','0','0','0','0','0','0','0','Vile - Say on Aggro'),
('2976902','29769','0','0','100','1025','5000','8000','5000','8000','0','0','11','6253','1','0','0','0','0','0','0','0','0','0','Vile - Cast Backhand'),
('2976903','29769','2','0','100','1025','30','0','8000','10000','0','0','11','56646','0','0','0','0','0','0','0','0','0','0','Vile - Enrage at 30% HP'),
('2976904','29769','1','0','100','33','1000','3000','3000','3000','0','0','5','36','0','0','5','35','0','0','0','0','0','0','Lady Nightswood - Randomized Emote on OOC Timer'),
('2976901','29769','11','0','100','0','0','0','0','0','0','0','42','1','0','0','22','1','0','0','0','0','0','0','Vile - Set DEATH_PREVENTION and Phase 1 on Spawn'),
('2976902','29769','4','0','100','0','0','0','0','0','0','0','1','30461','0','0','0','0','0','0','0','0','0','0','Vile - Say on Aggro'),
('2976903','29769','0','0','100','1025','5000','8000','5000','8000','0','0','11','6253','1','0','0','0','0','0','0','0','0','0','Vile - Cast Backhand'),
('2976904','29769','1','5','100','33','1000','3000','3000','3000','0','0','5','36','0','0','5','35','0','0','0','0','0','0','Vile - Randomized Emote on OOC Timer (Phase 1)'),
('2976905','29769','2','5','100','1025','30','0','8000','10000','0','0','11','56646','0','0','0','0','0','0','0','0','0','0','Vile - Enrage at 30% HP (Phase 1)'),
('2976906','29769','2','5','100','0','1','0','0','0','0','0','24','1','0','0','11','29266','0','1','22','2','0','0','Vile - Evade, Cast Permanent Feign Deathand SEt Phase 2 at 1% HP (Phase 1)'),
('2976907','29769','1','3','100','0','0','0','0','0','0','0','18','16','0','0','18','256','0','0','0','0','0','0','Vile - Add UnitFlags on OOC Timer (Phase 2)'),
('2976908','29769','1','3','100','0','120000','120000','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Vile - Despawn Self on OOC Timer (Phase 2)'),
('2976909','29769','8','3','100','0','29071','-1','0','0','0','0','53','20908','6','0','0','0','0','0','0','0','0','0','Vile - START_RELAY_SCRIPT on Spell Hit (Phase 2)'),
-- Lady Nightswood 29770
('2977001','29770','4','0','100','0','0','0','0','0','0','0','1','30462','0','0','53','3','0','0','0','0','0','0','Lady Nightswood - Say and Interrupt Channelling on Aggro'),
('2977002','29770','0','0','100','1025','2000','5000','12000','15000','0','0','11','5884','1','0','0','0','0','0','0','0','0','0','Lady Nightswood - Cast Banshee Curse'),
('2977003','29770','9','0','100','1025','0','5','6100','14400','0','0','11','16838','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - Cast Banshee Shriek'),
('2977004','29770','1','0','100','1','1000','1000','5000','5000','0','0','53','20848','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - START_RELAY_SCRIPT on OOC Timer'),
('2977001','29770','11','0','100','0','0','0','0','0','0','0','42','1','0','0','22','1','0','0','0','0','0','0','Lady Nightswood - Set DEATH_PREVENTION and Phase 1 on Spawn'),
('2977002','29770','4','0','100','0','0','0','0','0','0','0','1','30462','0','0','53','3','0','0','0','0','0','0','Lady Nightswood - Say and Interrupt Channelling on Aggro'),
('2977003','29770','0','0','100','1025','2000','5000','12000','15000','0','0','11','5884','1','0','0','0','0','0','0','0','0','0','Lady Nightswood - Cast Banshee Curse'),
('2977004','29770','9','0','100','1025','0','5','6100','14400','0','0','11','16838','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - Cast Banshee Shriek'),
('2977005','29770','1','5','100','1','1000','1000','5000','5000','0','0','53','20848','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - START_RELAY_SCRIPT on OOC Timer'),
('2977006','29770','2','5','100','0','1','0','0','0','0','0','24','1','0','0','11','29266','0','1','22','2','0','0','Lady Nightswood - Evade, Cast Permanent Feign Deathand SEt Phase 2 at 1% HP (Phase 1)'),
('2977007','29770','1','3','100','0','0','0','0','0','0','0','18','16','0','0','18','256','0','0','0','0','0','0','Lady Nightswood - Add UnitFlags on OOC Timer (Phase 2)'),
('2977008','29770','1','3','100','0','120000','120000','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - Despawn Self on OOC Timer (Phase 2)'),
('2977009','29770','8','3','100','0','29071','-1','0','0','0','0','53','20910','6','0','0','0','0','0','0','0','0','0','Lady Nightswood - START_RELAY_SCRIPT on Spell Hit (Phase 2)'),
-- ELM General Purpose Bunny Hide Body (Phase I) 29772
('2977201','-526349','1','0','80','1','5000','30000','30000','50000','0','0','45','5','30','0','0','0','0','0','0','0','0','0','ELM General Purpose Bunny Hide Body (Phase I) (Guid EAI) - (80% chance) Send Event AI 5 on OOC Timer'),
('2977202','-526350','1','0','80','1','5000','30000','30000','50000','0','0','45','6','30','0','0','0','0','0','0','0','0','0','ELM General Purpose Bunny Hide Body (Phase I) (Guid EAI) - (80% chance) Send Event AI 6 on OOC Timer'),
Expand All @@ -28285,8 +28295,13 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Thassarian 29799
-- Baron Sliver 29804
-- The Leaper 29840
('2984001','29840','4','0','100','0','0','0','0','0','0','0','1','30463','0','0','0','0','0','0','0','0','0','0','The Leaper - Say on Aggro'),
('2984002','29840','9','0','100','1025','0','5','12000','18000','0','0','11','60195','1','0','0','0','0','0','0','0','0','0','The Leaper - Cast Sinister Strike'),
('2984001','29840','11','0','100','0','0','0','0','0','0','0','42','1','0','0','22','1','0','0','0','0','0','0','The Leaper - Set DEATH_PREVENTION and Phase 1 on Spawn'),
('2984002','29840','4','0','100','0','0','0','0','0','0','0','1','30463','0','0','0','0','0','0','0','0','0','0','The Leaper - Say on Aggro'),
('2984003','29840','9','0','100','1025','0','5','12000','18000','0','0','11','60195','1','0','0','0','0','0','0','0','0','0','The Leaper - Cast Sinister Strike'),
('2984004','29840','2','5','100','0','1','0','0','0','0','0','24','1','0','0','11','29266','0','1','22','2','0','0','The Leaper - Evade, Cast Permanent Feign Deathand SEt Phase 2 at 1% HP (Phase 1)'),
('2984005','29840','1','3','100','0','0','0','0','0','0','0','18','16','0','0','18','256','0','0','0','0','0','0','The Leaper - Add UnitFlags on OOC Timer (Phase 2)'),
('2984006','29840','1','3','100','0','120000','120000','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','The Leaper - Despawn Self on OOC Timer (Phase 2)'),
('2984007','29840','8','3','100','0','29071','-1','0','0','0','0','53','20909','6','0','0','0','0','0','0','0','0','0','The Leaper - START_RELAY_SCRIPT on Spell Hit (Phase 2)'),
-- General Lightsbane 29851
-- Lady Nightswood 29858
-- The Leaper 29859
Expand Down
43 changes: 43 additions & 0 deletions Updates/5339_q.12893.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
-- q.12893 'Free Your Mind'

-- spell targets
DELETE FROM spell_script_target WHERE entry IN(29070);
INSERT INTO spell_script_target(entry, type, targetEntry, inverseEffectMask) VALUES
(29070,1,29769,0),
(29070,1,29770,0),
(29070,1,29840,0);
-- spell script
DELETE FROM dbscripts_on_spell WHERE id IN (29071);
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
(29071,1,34,20687,0,0,0,0,6|0x08,0,0,0,0,0,0,0,0,'aura check'),
(29071,100,15,35426,0,0,0,0,6,0,0,0,0,0,0,0,0,'');
DELETE FROM conditions WHERE condition_entry = 20687;
INSERT INTO conditions (condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES
(20687,1,29266,0,0,0,2,'');
-- Relays
DELETE FROM dbscripts_on_relay WHERE id BETWEEN 20908 AND 20910;
INSERT INTO dbscripts_on_relay (id, priority, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
-- Vile 29769
(20908,0,1,22,35,1,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: Set Temp Faction'),
(20908,0,10,14,29266,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: Remove aura'),
(20908,0,20,8,29845,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: Kill credit'),
(20908,0,1000,36,0,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: Face Player'),
(20908,0,1200,0,0,0,0,0,0,0x02,30460,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: Say to Player'),
(20908,0,1300,1,34,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: emote'),
(20908,0,10000,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Vile 29769 EAI: despawn'),
-- The Leaper 29840
(20909,0,1,22,35,1,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: Set Temp Faction'),
(20909,0,10,14,29266,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: Remove aura'),
(20909,0,20,8,29847,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: Kill credit'),
(20909,0,1000,36,0,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: Face Player'),
(20909,0,1200,0,0,0,0,0,0,0x02,30459,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: Say to Player'),
(20909,0,1300,1,1,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: emote'),
(20909,0,10000,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of The Leaper 29840 EAI: despawn'),
-- Lady Nightswood 29770
(20910,0,1,22,35,1,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: Set Temp Faction'),
(20910,0,10,14,29266,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: Remove aura'),
(20910,0,20,8,29846,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: Kill credit'),
(20910,0,1000,36,0,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: Face Player'),
(20910,0,1200,0,0,0,0,0,0,0x02,30458,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: Say to Player'),
(20910,0,1300,1,1,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: emote'),
(20910,0,10000,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29770 EAI: despawn');

0 comments on commit 62f0049

Please sign in to comment.