Skip to content

Commit

Permalink
[ACID] rework all 3 types of Pterrordax into spell_list
Browse files Browse the repository at this point in the history
Also update timers, they previously were casting their spells to often
  • Loading branch information
miraco committed Jan 29, 2025
1 parent 46ea47e commit b30c633
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ACID/acid_tbc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15517,13 +15517,10 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Elder Diemetradon 9164
('916401','9164','11','0','100','0','0','0','0','0','0','0','11','8876','0','34','0','0','0','0','0','0','0','0','Elder Diemetradon - Thrash on Spawn'),
('916402','9164','13','0','100','1025','6000','10000','0','0','0','0','11','12555','1','0','0','0','0','0','0','0','0','0','Elder Diemetradon - Cast Pummel'),
-- Fledgling Pterrordax
('916501','9165','0','0','100','1025','0','10000','6000','9000','0','0','11','5708','1','0','0','0','0','0','0','0','0','0','Fledgling Pterrordax - Cast Swoop'),
-- Pterrordax
('916601','9166','0','0','100','1025','6000','12000','10000','14000','0','0','11','6605','0','0','0','0','0','0','0','0','0','0','Pterrordax - Cast Terrifying Screech'),
-- Frenzied Pterrordax 9167
-- Fledgling Pterrordax 9165 - spell_list
-- Pterrordax 9166 - spell_list
-- Frenzied Pterrordax 9167 - spell_list
('916701','9167','11','0','100','0','0','0','0','0','0','0','11','8876','0','34','0','0','0','0','0','0','0','0','Frenzied Pterrordax - Thrash on Spawn'),
('916702','9167','0','0','100','1025','6000','9000','10000','14000','0','0','11','7399','5','0','0','0','0','0','0','0','0','0','Frenzied Pterrordax - Cast Terrify'),
-- Blazerunner 9376
('937601','9376','1','0','100','0','1000','1000','0','0','0','0','11','13913','0','34','11','13377','0','34','0','0','0','0','Blazerunner - Cast Blazerunner''s Aura, Fire Shield OOC'),
('937602','9376','0','0','100','1025','4000','8000','10000','16000','0','0','11','17277','0','0','0','0','0','0','0','0','0','0','Blazerunner - Cast Blast Wave'),
Expand Down
41 changes: 41 additions & 0 deletions Updates/0551_pterrodax.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
-- Fledgling Pterrordax spell_list
DELETE FROM `creature_template_spells` WHERE `entry` = 9165;

DELETE FROM `creature_spell_list_entry` WHERE `Id`= 916501;
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(916501, 'Un\'Goro Crater - Fledgling Pterrordax', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (916501);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(916501, 1, 5708, 0, -1, 1, 0, 100, 0, 7000, 20000, 12000, 22000, 'Fledgling Pterrordax - Swoop - current');

UPDATE `creature_template` SET `SpellList` = 916501 WHERE `entry` = 9165;


-- Pterrordax spell_list
DELETE FROM `creature_template_spells` WHERE `entry` = 9166;

DELETE FROM `creature_spell_list_entry` WHERE `Id`= 916601;
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(916601, 'Un\'Goro Crater - Pterrordax', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (916601);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(916601, 1, 6605, 0, -1, 2, 0, 100, 0, 6000, 15000, 15000, 25000, 'Pterrordax - Terrifying Screech - self');

UPDATE `creature_template` SET `SpellList` = 916601 WHERE `entry` = 9166;


-- Frenzied Pterrordax spell_list
DELETE FROM `creature_template_spells` WHERE `entry` = 9167;

DELETE FROM `creature_spell_list_entry` WHERE `Id`= 916701;
INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES
(916701, 'Un\'Goro Crater - Frenzied Pterrordax', 0, 0);

DELETE FROM `creature_spell_list` WHERE `Id` IN (916701);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES
(916701, 1, 7399, 0, -1, 7, 0, 100, 0, 6000, 16000, 16000, 26000, 'Frenzied Pterrordax - Terrify - current not alone');

UPDATE `creature_template` SET `SpellList` = 916701 WHERE `entry` = 9167;

0 comments on commit b30c633

Please # to comment.