From b30c633165047e523f4f26cb4d8df74fc6621a5b Mon Sep 17 00:00:00 2001 From: Miraco Date: Wed, 29 Jan 2025 19:38:50 +0100 Subject: [PATCH] [ACID] rework all 3 types of Pterrordax into spell_list Also update timers, they previously were casting their spells to often --- ACID/acid_tbc.sql | 9 +++------ Updates/0551_pterrodax.sql | 41 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 Updates/0551_pterrodax.sql diff --git a/ACID/acid_tbc.sql b/ACID/acid_tbc.sql index 22ce1e907..614e1d08d 100644 --- a/ACID/acid_tbc.sql +++ b/ACID/acid_tbc.sql @@ -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'), diff --git a/Updates/0551_pterrodax.sql b/Updates/0551_pterrodax.sql new file mode 100644 index 000000000..2b8f97150 --- /dev/null +++ b/Updates/0551_pterrodax.sql @@ -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; +