Skip to content

Commit

Permalink
[WDB][ACID] Convert Dragonmaw Bonewarder 1057 - creature_spell_list
Browse files Browse the repository at this point in the history
Add missing Curse of Weakness Spell

(cherry picked from commit cmangos/wotlk-db@22660c3
  • Loading branch information
AnonXS committed Sep 2, 2023
1 parent 504e1bd commit b577d8a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ACID/acid_tbc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8159,9 +8159,9 @@ 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
('105701','1057','11','0','100','0','0','0','0','0','0','0','11','8853','0','0','0','0','0','0','0','0','0','0','Dragonmaw Bonewarder - Cast Summon Skeleton on Spawn'),
('105702','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'),
-- 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 - 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'),
Expand Down
16 changes: 16 additions & 0 deletions Updates/0189_WDB-4890_c.1057_CSL.sql
Original file line number Diff line number Diff line change
@@ -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');

0 comments on commit b577d8a

Please sign in to comment.