Skip to content

Commit

Permalink
More timer fixes, closes #48
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed May 25, 2024
1 parent e99649d commit 194af8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DBM-Raids-MoP/HeartofFear/Meljarak.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local zarthikGUIDS = {}

local function clearWindBombTargets()
table.wipe(windBombTargets)
timerWindBombCD:Start(5.5)
end

function mod:OnCombatStart(delay)
Expand All @@ -95,7 +96,7 @@ function mod:OnCombatStart(delay)
table.wipe(windBombTargets)
table.wipe(zarthikGUIDS)
timerKorthikStrikeCD:Start(18-delay)
timerRainOfBladesCD:Start(60-delay)
timerRainOfBladesCD:Start(21.7-delay)--Former, 60
if not self:IsDifficulty("lfr25") then
berserkTimer:Start(-delay)
end
Expand Down Expand Up @@ -182,9 +183,8 @@ function mod:SPELL_DAMAGE(_, _, _, _, destGUID, destName, _, _, spellId)
if spellId == 131830 and not windBombTargets[destGUID] then
windBombTargets[destGUID] = true
warnWindBomb:CombinedShow(0.5, destName)
timerWindBombCD:Start()
self:Unschedule(clearWindBombTargets)
self:Schedule(0.3, clearWindBombTargets)
self:Schedule(0.5, clearWindBombTargets)
if destGUID == UnitGUID("player") and self:AntiSpam(3, 3) then
specWarnWindBomb:Show()
if not self:IsDifficulty("lfr25") then
Expand Down

0 comments on commit 194af8e

Please sign in to comment.