Skip to content

Commit

Permalink
tweak timers and upgrade them to nameplate timers for proving grounds
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Jul 5, 2024
1 parent 0b6a185 commit 902a332
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions DBM-Challenges/MoP/PGWhiteTiger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ local specWarnSonicBlast = mod:NewSpecialWarningInterrupt(145200, false, nil, ni
local specWarnAquaBomb = mod:NewSpecialWarningTarget(145206, nil, nil, nil, 1, 2)--It's cast too often to dispel them off, so it's better as a target warning.

--Tank
local timerWindBlastCD = mod:NewNextTimer(21, 144106, nil, nil, nil, 5)
local timerPowerfulSlamCD = mod:NewCDTimer(15, 144401, nil, nil, nil, 3)--15-17sec variation. Off by default do to timer spam
local timerWindBlastCD = mod:NewCDNPTimer(17.7, 144106, nil, nil, nil, 5)
local timerPowerfulSlamCD = mod:NewCDNPTimer(14.5, 144401, nil, nil, nil, 3)--15-17sec variation. Off by default do to timer spam
--Damager
local timerAmberGlobCD = mod:NewNextTimer(10.5, 142189, nil, nil, nil, 5)--Now off by default do to spam
local timerHealIllusionCD = mod:NewNextTimer(20, 142238, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)--Off by default do to timer spam
local timerAmberGlobCD = mod:NewCDNPTimer(8.5, 142189, nil, nil, nil, 5)--Now off by default do to spam
local timerHealIllusionCD = mod:NewCDNPTimer(20, 142238, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)--Off by default do to timer spam
--Healer
local timerAquaBombCD = mod:NewCDTimer(12, 145206, nil, false, nil, 5)--12-22 second variation? off by default do to this
local timerSonicBlastCD = mod:NewCDTimer(6, 145200, nil, nil, nil, 2)--8-11sec variation, off by default because maybe spammy?
local timerAquaBombCD = mod:NewCDNPTimer(12, 145206, nil, false, nil, 5)--12-22 second variation? off by default do to this
--local timerSonicBlastCD = mod:NewCDNPTimer(6, 145200, nil, nil, nil, 2)--8-11sec variation, off by default because maybe spammy?

local started = false

Expand All @@ -75,23 +75,23 @@ function mod:SPELL_CAST_START(args)
specWarnWindBlast:Show()
specWarnWindBlast:Play("carefly")
end
timerWindBlastCD:Start(args.sourceGUID)
timerWindBlastCD:Start(nil, args.sourceGUID)
elseif spellId == 144401 then
if self:AntiSpam(1.5, 4) then
specWarnPowerfulSlam:Show()
specWarnPowerfulSlam:Play("shockwave")
end
timerPowerfulSlamCD:Start(args.sourceGUID)
timerPowerfulSlamCD:Start(nil, args.sourceGUID)
elseif spellId == 142189 then
if self.Options.SpecWarn142189spell then
specWarnAmberGlob:Show()
specWarnAmberGlob:Play("watchstep")
specWarnAmberGlob:Play("watchorb")
elseif self:AntiSpam(1.5, 5) then
warnAmberGlobule:Show()
end
timerAmberGlobCD:Start(args.sourceGUID)
elseif spellId == 142238 then
timerHealIllusionCD:Start(args.sourceGUID)
timerHealIllusionCD:Start(nil, args.sourceGUID)
if self.Options.SpecWarn142238interrupt and self:CheckInterruptFilter(args.sourceGUID, false, true) then
specWarnHealIllusion:Show(args.sourceName)
specWarnHealIllusion:Play("kickcast")
Expand All @@ -105,7 +105,7 @@ function mod:SPELL_CAST_START(args)
elseif self:AntiSpam(1.5, 7) then
warnSonicBlast:Show()
end
timerSonicBlastCD:Start(args.sourceGUID)
-- timerSonicBlastCD:Start(nil, args.sourceGUID)
end
end

Expand All @@ -123,7 +123,7 @@ function mod:SPELL_AURA_APPLIED(args)
else
warnAquaBomb:CombinedShow(0.5, args.destName)
end
timerAquaBombCD:Start(args.sourceGUID)
timerAquaBombCD:Start(nil, args.sourceGUID)
end
end
mod.SPELL_AURA_APPLIED_DOSE = mod.SPELL_AURA_APPLIED
Expand Down Expand Up @@ -182,7 +182,7 @@ function mod:UNIT_DIED(args)
elseif cid == 72344 or cid == 72346 then--Illusionary Aqualyte
timerAquaBombCD:Cancel(args.destGUID)
elseif cid == 72342 or cid == 72343 then--Illusionary Hive-Singer
timerSonicBlastCD:Cancel(args.destGUID)
-- timerSonicBlastCD:Cancel(args.destGUID)
end
end

Expand Down

0 comments on commit 902a332

Please sign in to comment.