diff --git a/Classic/DireMaul/Options/Colors.lua b/Classic/DireMaul/Options/Colors.lua index 9a5bc0a38..302419cea 100644 --- a/Classic/DireMaul/Options/Colors.lua +++ b/Classic/DireMaul/Options/Colors.lua @@ -38,6 +38,10 @@ BigWigs:AddColors("Guard Mol'dar", { }) BigWigs:AddColors("Stomper Kreeg", { + [15578] = "yellow", + [16740] = "red", + [22833] = "purple", + [22835] = "cyan", }) BigWigs:AddColors("Cho'Rush the Observer", { diff --git a/Classic/DireMaul/Options/Sounds.lua b/Classic/DireMaul/Options/Sounds.lua index ab50b2004..474dc0d5b 100644 --- a/Classic/DireMaul/Options/Sounds.lua +++ b/Classic/DireMaul/Options/Sounds.lua @@ -35,6 +35,10 @@ BigWigs:AddSounds("Guard Mol'dar", { }) BigWigs:AddSounds("Stomper Kreeg", { + [15578] = "alert", + [16740] = "alert", + [22833] = "alarm", + [22835] = "long", }) BigWigs:AddSounds("Cho'Rush the Observer", { diff --git a/Classic/DireMaul/StomperKreeg.lua b/Classic/DireMaul/StomperKreeg.lua index cf9c320df..85c455618 100644 --- a/Classic/DireMaul/StomperKreeg.lua +++ b/Classic/DireMaul/StomperKreeg.lua @@ -6,7 +6,7 @@ local mod, CL = BigWigs:NewBoss("Stomper Kreeg", 429, 412) if not mod then return end mod:RegisterEnableMob(14322) -- Stomper Kreeg mod:SetEncounterID(363) ---mod:SetRespawnTime(0) +--mod:SetRespawnTime(0) resets, doesn't respawn -------------------------------------------------------------------------------- -- Initialization @@ -14,25 +14,51 @@ mod:SetEncounterID(363) function mod:GetOptions() return { - + 22833, -- Booze Spit + 16740, -- War Stomp + 15578, -- Whirlwind + 22835, -- Drunken Rage } end function mod:OnBossEnable() - if self:Retail() then - self:RegisterEvent("ENCOUNTER_START") -- XXX no boss frames - end + self:Log("SPELL_CAST_SUCCESS", "BoozeSpit", 22833) + self:Log("SPELL_CAST_SUCCESS", "WarStomp", 16740) + self:Log("SPELL_CAST_SUCCESS", "Whirlwind", 15578) + self:Log("SPELL_AURA_APPLIED", "DrunkenRageApplied", 22835) end function mod:OnEngage() + self:CDBar(22833, 8.3) -- Booze Spit + self:CDBar(16740, 10.7) -- War Stomp + self:CDBar(15578, 12.2) -- Whirlwind end -------------------------------------------------------------------------------- -- Event Handlers -- -function mod:ENCOUNTER_START(_, id) -- XXX no boss frames - if id == self.engageId then - self:Engage() +function mod:BoozeSpit(args) + self:Message(args.spellId, "purple") + self:CDBar(args.spellId, 19.4) + self:PlaySound(args.spellId, "alarm") +end + +function mod:WarStomp(args) + self:Message(args.spellId, "red") + self:CDBar(args.spellId, 17.0) + self:PlaySound(args.spellId, "alert") +end + +function mod:Whirlwind(args) + if self:MobId(args.sourceGUID) == 14322 then -- Stomper Kreeg + self:Message(args.spellId, "yellow") + self:CDBar(args.spellId, 13.4) + self:PlaySound(args.spellId, "alert") end end + +function mod:DrunkenRageApplied(args) + self:Message(args.spellId, "cyan", CL.percent:format(50, args.spellName)) + self:PlaySound(args.spellId, "long") +end