Skip to content

Commit

Permalink
OHF: Port lieutenant drake to spell lists
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Jun 3, 2023
1 parent 4a7fb34 commit fa9d8d5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ACID/acid_tbc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22675,11 +22675,8 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('1784801','17848','4','0','100','0','0','0','0','0','0','0','1','16650','0','0','0','0','0','0','0','0','0','0','Lieutenant Drake - Yell on Aggro'),
('1784802','17848','6','0','100','0','0','0','0','0','0','0','1','16664','0','0','0','0','0','0','0','0','0','0','Lieutenant Drake - Yell on Death'),
('1784803','17848','5','0','100','1','0','0','1','0','0','0','1','16662','16663','0','0','0','0','0','0','0','0','0','Lieutenant Drake - Yell on Player Kill'),
('1784804','17848','0','0','100','1025','20500','24100','12100','26600','0','0','11','33792','4','544','0','0','0','0','0','0','0','0','Lieutenant Drake - Cast Exploding Shot'),
('1784805','17848','0','0','100','1025','18500','22500','25000','35000','0','0','11','33789','1','0','1','16660','0','0','0','0','0','0','Lieutenant Drake - Cast Frightening Shout and Yell'),
('1784806','17848','0','0','100','1025','12300','14500','18100','22900','0','0','11','31909','0','0','0','0','0','0','0','0','0','0','Lieutenant Drake - Cast Whirlwind'),
('1784807','17848','0','0','100','1025','7400','11900','14900','24800','0','0','11','31911','1','0','1','16659','0','0','0','0','0','0','Lieutenant Drake - Cast Mortal Strike and Yell'),
('1784808','17848','0','0','100','1025','6100','7200','6100','22900','0','0','11','9080','1','256','0','0','0','0','0','0','0','0','Lieutenant Drake - Cast Hamstring'),
('1784804','17848','37','0','100','1','33789','0','1','0','0','0','1','16660','0','0','0','0','0','0','0','0','0','0','Lieutenant Drake - Yell on Frightening Shout'),
('1784805','17848','37','0','100','1','31911','0','1','0','0','0','1','16659','0','0','0','0','0','0','0','0','0','0','Lieutenant Drake - Yell on Mortal Strike'),
-- Durnholde Veteran (4.3.4 Official Data - Normal/Heroic)
('1786001','17860','4','0','10','32','0','0','0','0','0','0','1','19513','19511','19512','1','19511','19512','19514','1','19513','19512','19514','Durnholde Veteran - Random Say on Aggro'),
('1786002','17860','0','0','100','1025','4800','10900','3600','10900','0','0','11','15581','1','0','0','0','0','0','0','0','0','0','Durnholde Veteran - Cast Sinister Strike'),
Expand Down
21 changes: 21 additions & 0 deletions Updates/0037_ohf_lieutenant_drake.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
UPDATE creature_template SET SpellList = 1784801 WHERE entry=17848;
UPDATE creature_template SET SpellList = 2053501 WHERE entry=20535;
DELETE FROM creature_spell_list_entry WHERE Id IN(1784801,2053501);
INSERT INTO creature_spell_list_entry(Id, Name, ChanceSupportAction, ChanceRangedAttack) VALUES
(1784801, 'OHF - Lieutenant Drake - Normal', 0, 0),
(2053501, 'OHF - Lieutenant Drake - Heroic', 0, 0);
DELETE FROM creature_spell_list WHERE Id IN(1784801,2053501);
INSERT INTO creature_spell_list(Id, Position, SpellId, Flags, CombatCondition, TargetId, ScriptId, Availability, Probability, InitialMin, InitialMax, RepeatMin, RepeatMax, Comments) VALUES
('1784801', '0', '33789', '0', '-1', '1', '0', '100', '0','18500','22500','25000','35000', 'Lieutenant Drake - Frightening Shout on Current'),
('1784801', '1', '31909', '0', '-1', '0', '0', '100', '0', '12300','14500','18100','22900', 'Lieutenant Drake - Whirlwind'),
('1784801', '2', '31911', '0', '-1', '1', '0', '100', '0', '7400','11900','14900','24800', 'Lieutenant Drake - Mortal Strike on Current'),
('1784801', '3', '9080', '0', '-1', '100', '0', '100', '0', '6100','7200','6100','22900', 'Lieutenant Drake - Hamstring on Current'),
('1784801', '4', '33792', '0', '-1', '101', '0', '100', '0', '20500','24100','12100','26600', 'Lieutenant Drake - Exploding Shot on Random Player non tank');
INSERT INTO creature_spell_list(Id, Position, SpellId, Flags, CombatCondition, TargetId, ScriptId, Availability, Probability, InitialMin, InitialMax, RepeatMin, RepeatMax, Comments) VALUES
('2053501', '0', '33789', '0', '-1', '1', '0', '100', '0','18500','22500','25000','35000', 'Lieutenant Drake - Frightening Shout on Current'),
('2053501', '1', '31909', '0', '-1', '0', '0', '100', '0', '12300','14500','18100','22900', 'Lieutenant Drake - Whirlwind'),
('2053501', '2', '31911', '0', '-1', '1', '0', '100', '0', '7400','11900','14900','24800', 'Lieutenant Drake - Mortal Strike on Current'),
('2053501', '3', '9080', '0', '-1', '100', '0', '100', '0', '6100','7200','6100','22900', 'Lieutenant Drake - Hamstring on Current'),
('2053501', '4', '33792', '0', '-1', '101', '0', '100', '0', '20500','24100','12100','26600', 'Lieutenant Drake - Exploding Shot on Random Player non tank');


0 comments on commit fa9d8d5

Please sign in to comment.