Skip to content

Commit

Permalink
WarWithin/CinderbrewMeadery/BrewMasterAldryr: Happy Hour update
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Feb 15, 2025
1 parent 350ea8b commit 6b4a7f5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion WarWithin/CinderbrewMeadery/BrewMasterAldryr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ mod:SetEncounterID(2900)
mod:SetRespawnTime(30)
mod:SetStage(1)

--------------------------------------------------------------------------------
-- Locals
--

local happyHourCount = 1

--------------------------------------------------------------------------------
-- Localization
--
Expand Down Expand Up @@ -48,6 +54,7 @@ function mod:OnBossEnable()
end

function mod:OnEngage()
happyHourCount = 1
self:SetStage(1)
self:CDBar(432229, 5.1) -- Keg Smash
self:CDBar(432179, 10.0) -- Throw Cinderbrew
Expand Down Expand Up @@ -84,10 +91,15 @@ do
end
self:SetStage(2)
if isElevenDotOne then
self:Message(args.spellId, "cyan", CL.percent:format(50, args.spellName))
if happyHourCount == 1 then
self:Message(args.spellId, "cyan", CL.percent:format(66, args.spellName))
else
self:Message(args.spellId, "cyan", CL.percent:format(33, args.spellName))
end
else -- XXX remove in 11.1
self:Message(args.spellId, "cyan")
end
happyHourCount = happyHourCount + 1
self:PlaySound(args.spellId, "long")
end

Expand Down

0 comments on commit 6b4a7f5

Please sign in to comment.