From a72a32841ab697cfb0b616d594284f4637104406 Mon Sep 17 00:00:00 2001 From: AnonXS Date: Sun, 27 Aug 2023 23:39:10 +0200 Subject: [PATCH] [WDB][ACID] Convert Dragonmaw Bonewarder 1057 - creature_spell_list Add missing Curse of Weakness Spell (cherry picked from commit https://github.com/cmangos/wotlk-db/commit/22660c3b048703d0b2c34d68c666b3e7f076151c (cherry picked from commit https://github.com/cmangos/tbc-db/commit/b577d8aa684070b03489ff31a3875d8e10b39122 --- ACID/acid_classic.sql | 7 +++---- Updates/4488_0189_WDB-4890_c.1057_CSL.sql | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 Updates/4488_0189_WDB-4890_c.1057_CSL.sql diff --git a/ACID/acid_classic.sql b/ACID/acid_classic.sql index eda3077f9..d43cd91da 100644 --- a/ACID/acid_classic.sql +++ b/ACID/acid_classic.sql @@ -6831,11 +6831,10 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers ('105403','1054','2','0','100','1024','15','0','0','0','0','0','25','0','0','0','1','1150','0','0','0','0','0','0','Dark Iron Demolitionist - Flee at 15% HP'), ('105404','1054','0','0','100','1025','1200','8300','8200','20100','0','0','11','7891','1','0','0','0','0','0','0','0','0','0','Dark Iron Demolitionist - Cast Gift of Ragnaros'), ('105405','1054','9','0','100','1025','5','30','2400','3800','0','0','11','8858','1','256','0','0','0','0','0','0','0','0','Dark Iron Demolitionist - Cast Bomb'), --- Dragonmaw Bonewarder +-- Dragonmaw Bonewarder 1057 - creature_spell_list ('105701','1057','1','0','100','0','1000','1000','0','0','0','0','56','0','0','0','0','0','0','0','0','0','0','0','Dragonmaw Bonewarder - Despawn Guardians on OOC'), -('105702','1057','1','0','100','0','2000','2000','0','0','0','0','11','8853','0','0','0','0','0','0','0','0','0','0','Dragonmaw Bonewarder - Cast Summon Skeleton on OOC'), -('105703','1057','0','0','100','1025','1800','9200','15000','27900','0','0','11','707','1','0','0','0','0','0','0','0','0','0','Dragonmaw Bonewarder - Cast Immolate'), -('105704','1057','2','0','100','0','15','0','0','0','0','0','25','0','0','0','1','1150','0','0','0','0','0','0','Dragonmaw Bonewarder - Flee at 15% HP'), +('105702','1057','1','0','100','0','2000','2000','0','0','0','0','11','8853','0','0','0','0','0','0','0','0','0','0','Dragonmaw Bonewarder - Summon Skeleton on OOC'), +('105703','1057','2','0','100','0','15','0','0','0','0','0','25','0','0','0','1','1150','0','0','0','0','0','0','Dragonmaw Bonewarder - Flee at 15% HP'), -- Crimson Whelp ('106901','1069','0','0','100','1025','1200','7800','60800','63500','0','0','11','184','0','0','0','0','0','0','0','0','0','0','Crimson Whelp - Cast Fire Shield II'), -- Leech Stalker diff --git a/Updates/4488_0189_WDB-4890_c.1057_CSL.sql b/Updates/4488_0189_WDB-4890_c.1057_CSL.sql new file mode 100644 index 000000000..da4866fed --- /dev/null +++ b/Updates/4488_0189_WDB-4890_c.1057_CSL.sql @@ -0,0 +1,16 @@ +-- Dragonmaw Bonewarder 1057 - https://www.wowhead.com/wotlk/npc=1057/dragonmaw-bonewarder#abilities +-- https://github.com/cmangos/wotlk-db/issues/718 +UPDATE `creature_template` SET `SpellList` = 105701 WHERE `entry` = 1057; + +-- 1057 0 707 13787 8853 6205 0 0 0 0 0 0 +DELETE FROM `creature_template_spells` WHERE `entry` = 1057; -- s.13787 seemingly unused. + +DELETE FROM `creature_spell_list_entry` WHERE `Id` = 105701; +INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES +(105701, 'Wetlands - Dragonmaw Bonewarder (1057)', 0, 0); + +DELETE FROM `creature_spell_list` WHERE `Id` = 105701; +INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES +(105701, 1, 707, 0, -1, 1, 0, 100, 0, 0, 20000, 20000, 40000, 'Dragonmaw Bonewarder - Immolate on Current'), +(105701, 2, 6205, 0, -1, 1, 0, 100, 0, 0, 20000, 120000, 140000, 'Dragonmaw Bonewarder - Curse of Weakness on Current'); +