Skip to content

Commit

Permalink
[5340][ACID] Q: 'If He Cannot Be Turned'
Browse files Browse the repository at this point in the history
Fixed:
- q.12896 'If He Cannot Be Turned' - A
- q.12897 'If He Cannot Be Turned' - H

Part of:
#379

Part of:
#378
  • Loading branch information
Grz3s committed Jun 18, 2024
1 parent 62f0049 commit 08c34d0
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 3 deletions.
28 changes: 25 additions & 3 deletions ACID/acid_wotlk.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28270,7 +28270,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('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)'),
('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 Death and 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)'),
Expand All @@ -28280,7 +28280,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('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)'),
('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 Death and 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)'),
Expand All @@ -28298,14 +28298,36 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('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)'),
('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 Death and 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
('2985101','29851','11','0','100','0','0','0','0','0','0','0','1','30465','0','0','0','0','0','0','0','0','0','0','General Lightsbane - Say on Spawn'),
('2985102','29851','0','0','100','1025','4000','7000','7000','11000','0','0','11','15284','1','0','0','0','0','0','0','0','0','0','General Lightsbane - Cast Cleave'),
('2985103','29851','9','0','100','1025','0','5','15000','19000','0','0','11','61186','1','0','0','0','0','0','0','0','0','0','General Lightsbane - Cast Plague Strike'),
('2985104','29851','0','0','100','1025','8000','13000','16000','21000','0','0','11','60160','4','0','0','0','0','0','0','0','0','0','General Lightsbane - Cast Death and Decay'),
('2985105','29851','6','0','100','0','0','0','0','0','0','0','1','30476','0','0','45','5','100','0','0','0','0','0','General Lightsbane - Say and Send Event A on Death'),
('2985106','29851','21','0','100','0','0','0','0','0','0','0','41','1000','0','0','0','0','0','0','0','0','0','0','General Lightsbane - Forced Despawn on Reached Home'),
-- Lady Nightswood 29858
('2985801','29858','11','0','100','0','0','0','0','0','0','0','1','30470','0','0','53','20912','0','0','0','0','0','0','Lady Nightswood - Say and START_RELAY_SCRIPT on Spawn'),
('2985802','29858','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'),
('2985803','29858','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'),
('2985804','29858','30','0','100','0','5','29851','0','0','0','0','41','5000','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - Despawn Self on Receive AI Event Custom A'),
('2985805','29858','6','0','100','0','0','0','0','0','0','0','41','5000','0','0','0','0','0','0','0','0','0','0','Lady Nightswood - Despawn self on Death'),
-- The Leaper 29859
('2985901','29859','11','0','100','0','0','0','0','0','0','0','1','30472','0','0','53','20913','0','0','0','0','0','0','The Leaper - Say and START_RELAY_SCRIPT on Spawn'),
('2985902','29859','0','0','100','1025','9000','12000','9000','12000','0','0','11','60177','1','0','0','0','0','0','0','0','0','0','The Leaper - Cast Hunger For Blood'),
('2985903','29859','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'),
('2985904','29859','30','0','100','0','5','29851','0','0','0','0','41','5000','0','0','0','0','0','0','0','0','0','0','The Leaper - Despawn Self on Receive AI Event Custom A'),
('2985905','29859','6','0','100','0','0','0','0','0','0','0','41','5000','0','0','0','0','0','0','0','0','0','0','The Leaper - Despawn self on Death'),
-- Vile 29860
('2986001','29860','11','0','100','0','0','0','0','0','0','0','1','30471','0','0','53','20911','0','0','0','0','0','0','Vile - Say and START_RELAY_SCRIPT on Spawn'),
('2986002','29860','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'),
('2986003','29860','9','0','100','1025','0','5','12000','16000','0','0','11','37548','1','0','0','0','0','0','0','0','0','0','Vile - Cast Taunt'),
('2986004','29860','0','0','100','1025','10000','10000','16000','18000','0','0','11','56646','0','0','0','0','0','0','0','0','0','0','Vile - Cast Enrage'),
('2986005','29860','30','0','100','0','5','29851','0','0','0','0','41','5000','0','0','0','0','0','0','0','0','0','0','Vile - Despawn Self on Receive AI Event Custom A'),
('2986006','29860','6','0','100','0','0','0','0','0','0','0','41','5000','0','0','0','0','0','0','0','0','0','0','Vile - Despawn self on Death'),
-- Jotunheim Warrior 29880
('2988001','29880','4','0','25','0','0','0','0','0','0','0','54','0','0','20336','0','0','0','0','0','0','0','0','Jotunheim Warrior - (25% chance) Random Say on Aggro'),
('2988002','29880','0','0','100','1025','4000','14000','15000','30000','0','0','11','23262','1','0','0','0','0','0','0','0','0','0','Jotunheim Warrior - Cast Demoralize'),
Expand Down
30 changes: 30 additions & 0 deletions Updates/5340_q.12896_12897.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
-- q.12896 'If He Cannot Be Turned' - A
-- q.12897 'If He Cannot Be Turned' - H
DELETE FROM dbscripts_on_event WHERE id IN (19423);
INSERT INTO dbscripts_on_event (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(19423,1,31,29851,100,0,0,0,0x08,0,0,0,0,0,0,0,0,'search for 29851'),
(19423,100,10,29851,300000,0,0,0,0,0,0,0,0,8578.751,2641.7883,652.3534,5.454587,'summon 29851'),
(19423,6000,31,29851,100,0,0,0,0,0,0,0,0,0,0,0,0,'search for 29851'),
(19423,7000,10,29860,300000,0,0,0,0,0,0,0,0,8553.593,2652.8206,652.3534,5.745369,'summon 29860'),
(19423,16000,31,29851,100,0,0,0,0,0,0,0,0,0,0,0,0,'search for 29851'),
(19423,17000,10,29858,300000,0,0,0,0,0,0,0,0,8598.224,2670.0774,652.4367,4.4809,'summon 29858'),
(19423,28000,31,29851,100,0,0,0,0,0,0,0,0,0,0,0,0,'search for 29851'),
(19423,29000,10,29859,300000,0,0,0,0,0,0,0,0,8556.31,2633.7283,652.4367,0.349,'summon 29859');
-- General Lightsbane 29851
UPDATE creature_template SET MovementType = 2 WHERE entry IN (29851);
DELETE FROM `creature_movement_template` WHERE entry IN (29851);
INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES
(29851,1,8578.751,2641.7883,652.3534,5.454587,100,5),
(29851,2,8586.146,2633.7256,652.3534,100,100,3);
-- Relays
DELETE FROM dbscripts_on_relay WHERE id BETWEEN 20911 AND 20913;
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
-- Vile 29860
(20911,1,31,29851,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Vile 29860 EAI: search for 29851'),
(20911,100,26,0,0,0,29851,100,1,0,0,0,0,0,0,0,0,'Part of Vile 29860 EAI: attack buddy'),
-- Lady Nightswood 29858
(20912,1,31,29851,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29858 EAI: search for 29851'),
(20912,100,26,0,0,0,29851,100,1,0,0,0,0,0,0,0,0,'Part of Lady Nightswood 29858 EAI: attack buddy'),
-- The Leaper 29859
(20913,1,31,29851,100,0,0,0,0,0,0,0,0,0,0,0,0,'Part of The Leaper 29859 EAI: search for 29851'),
(20913,100,26,0,0,0,29851,100,1,0,0,0,0,0,0,0,0,'Part of The Leaper 29859 EAI: attack buddy');

0 comments on commit 08c34d0

Please sign in to comment.