Skip to content

Commit

Permalink
[ACID] Hellfire Warder into spell_list (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
miraco authored Jun 25, 2024
1 parent f1e4a7b commit f58315b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
12 changes: 2 additions & 10 deletions ACID/acid_tbc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28257,16 +28257,8 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Magtheridon's Room 17516
('1751601','17516','11','0','100','0','0','0','0','0','0','0','11','30632','0','0','50','0','0','0','0','0','0','0','Magtheridon''s Room - Cast Debris and REACT_PASSIVE on Spawn'),
-- Hellfire Warder
('1882901','18829','0','0','100','1025','0','5000','18400','27400','0','0','11','39175','0','0','0','0','0','0','0','0','0','0','Hellfire Warder - Cast Shadow Bolt Volley'),
('1882902','18829','0','0','100','1025','4000','8000','18000','25000','0','0','11','34436','0','0','0','0','0','0','0','0','0','0','Hellfire Warder - Cast Shadow Burst'),
('1882903','18829','0','0','100','1025','2000','7000','12000','19000','0','0','11','34439','8','32','0','0','0','0','0','0','0','0','Hellfire Warder - Cast Unstable Affliction'),
('1882904','18829','0','0','100','1025','5000','9000','15000','19000','0','0','11','34435','4','0','0','0','0','0','0','0','0','0','Hellfire Warder - Cast Rain of Fire'),
('1882905','18829','0','0','100','1025','9000','14000','14500','18500','0','0','11','34437','9','0','0','0','0','0','0','0','0','0','Hellfire Warder - Cast Death Coil'),
('1882906','18829','0','0','100','1025','13000','18000','12000','16000','0','0','11','34441','8','0','0','0','0','0','0','0','0','0','Hellfire Warder - Cast Shadow Word Pain'),
('1882907','18829','4','0','100','0','0','0','0','0','0','0','52','3','0','0','0','0','0','0','0','0','0','0','Hellfire Warder - Interrupt Channelling on Aggro'),
('1882908','18829','34','0','100','1','34436','-1','0','0','0','0','13','-100','6','0','0','0','0','0','0','0','0','0','Hellfire Warder - Reset Threat on target hit by Shadow Burst'),


('1882901','18829','4','0','100','0','0','0','0','0','0','0','52','3','0','0','0','0','0','0','0','0','0','0','Hellfire Warder - Interrupt Channelling on Aggro'),
('1882902','18829','34','0','100','1','34436','-1','0','0','0','0','13','-100','6','0','0','0','0','0','0','0','0','0','Hellfire Warder - Reset Threat on target hit by Shadow Burst'),

-- ========
-- Karazhan
Expand Down
17 changes: 17 additions & 0 deletions Updates/0444_magheridon_spell_list.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-- Hellfire Warder
DELETE FROM `creature_template_spells` WHERE `entry` = 18829;

DELETE FROM `creature_spell_list_entry` WHERE `Id` = 1882901;
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(1882901, 'Magtheridon\'s Lair - Hellfire Warder', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` = 1882901;
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(1882901, 1, 34435, 0, -1, 100, 0, 100, 0, 5000, 19000, 11000, 21000, 'Hellfire Warder - Rain of Fire - random'),
(1882901, 2, 34436, 0, -1, 2, 0, 100, 0, 4000, 18000, 16000, 27000, 'Hellfire Warder - Shadow Burst - self'),
(1882901, 3, 34437, 0, -1, 101, 0, 100, 0, 8000, 28000, 8000, 28000, 'Hellfire Warder - Death Coil - random not tank'),
(1882901, 4, 34439, 0, -1, 121, 0, 100, 0, 3000, 15000, 3000, 15000, 'Hellfire Warder - Unstable Affliction - random aura not present'),
(1882901, 5, 34441, 0, -1, 121, 0, 100, 0, 9000, 18000, 25000, 40000, 'Hellfire Warder - Shadow Word Pain - random aura not present'),
(1882901, 6, 39175, 0, -1, 2, 0, 100, 0, 7000, 18000, 14000, 25000, 'Hellfire Warder - Shadow Bolt Volley - self');

UPDATE `creature_template` SET `SpellList` = 1882901 WHERE `entry` = 18829;

0 comments on commit f58315b

Please sign in to comment.