From 8ac522f46f8731babd52ce45a40d67a316dcb67b Mon Sep 17 00:00:00 2001 From: Nick Towle Date: Wed, 8 Jan 2025 20:05:45 -0500 Subject: [PATCH] WarWithin/OperationFloodgate/Swampface: Add boss module (#1244) --- .../OperationFloodgate/Options/Colors.lua | 3 ++ .../OperationFloodgate/Options/Sounds.lua | 3 ++ WarWithin/OperationFloodgate/Swampface.lua | 29 +++++++++++++++++++ 3 files changed, 35 insertions(+) diff --git a/WarWithin/OperationFloodgate/Options/Colors.lua b/WarWithin/OperationFloodgate/Options/Colors.lua index 4664f25a3..e554c5f10 100644 --- a/WarWithin/OperationFloodgate/Options/Colors.lua +++ b/WarWithin/OperationFloodgate/Options/Colors.lua @@ -20,6 +20,9 @@ BigWigs:AddColors("Demolition Duo", { }) BigWigs:AddColors("Swampface", { + [469478] = "purple", + [473070] = "yellow", + [473114] = "orange", }) BigWigs:AddColors("Geezle Gigazap", { diff --git a/WarWithin/OperationFloodgate/Options/Sounds.lua b/WarWithin/OperationFloodgate/Options/Sounds.lua index 0aa4f16a6..d1acd4364 100644 --- a/WarWithin/OperationFloodgate/Options/Sounds.lua +++ b/WarWithin/OperationFloodgate/Options/Sounds.lua @@ -20,6 +20,9 @@ BigWigs:AddSounds("Demolition Duo", { }) BigWigs:AddSounds("Swampface", { + [469478] = "alert", + [473070] = "long", + [473114] = "alarm", }) BigWigs:AddSounds("Geezle Gigazap", { diff --git a/WarWithin/OperationFloodgate/Swampface.lua b/WarWithin/OperationFloodgate/Swampface.lua index eba19c9f7..b0f787d97 100644 --- a/WarWithin/OperationFloodgate/Swampface.lua +++ b/WarWithin/OperationFloodgate/Swampface.lua @@ -15,15 +15,44 @@ mod:SetRespawnTime(30) function mod:GetOptions() return { + -- TODO Razorchoke Vines (Mythic) + 473070, -- Awaken the Swamp + 473114, -- Mudslide + {469478, "TANK_HEALER"}, -- Sludge Claws } end function mod:OnBossEnable() + -- TODO warmup? + self:Log("SPELL_CAST_START", "AwakenTheSwamp", 473070) + self:Log("SPELL_CAST_START", "Mudslide", 473114) + self:Log("SPELL_CAST_START", "SludgeClaws", 469478) end function mod:OnEngage() + self:CDBar(469478, 3.0) -- Sludge Claws + self:CDBar(473114, 9.0) -- Mudslide + self:CDBar(473070, 19.0) -- Awaken the Swamp end -------------------------------------------------------------------------------- -- Event Handlers -- + +function mod:AwakenTheSwamp(args) + self:Message(args.spellId, "yellow") + self:CDBar(args.spellId, 30.0) + self:PlaySound(args.spellId, "long") +end + +function mod:Mudslide(args) + self:Message(args.spellId, "orange") + self:CDBar(args.spellId, 30.0) + self:PlaySound(args.spellId, "alarm") +end + +function mod:SludgeClaws(args) + self:Message(args.spellId, "purple") + self:CDBar(args.spellId, 30.0) + self:PlaySound(args.spellId, "alert") +end