Skip to content

Commit

Permalink
ICC-LDW: add frostbolt volley timer (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanquar authored Nov 11, 2023
1 parent b2597cb commit 9bb2038
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DBM-Icecrown/TheLowerSpire/Deathwhisper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local L = mod:GetLocalizedStrings()
local CancelUnitBuff, GetSpellInfo = CancelUnitBuff, GetSpellInfo
local UnitGUID = UnitGUID

mod:SetRevision("20230827194026")
mod:SetRevision("20231104194135")
mod:SetCreatureID(36855)
mod:SetUsedIcons(1, 2, 3, 7, 8)
mod:SetMinSyncRevision(20220905000000)
Expand All @@ -13,7 +13,7 @@ mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START 71420 72007 72501 72502 70900 70901 72499 72500 72497 72496",
"SPELL_CAST_SUCCESS 71289 71204",
"SPELL_CAST_SUCCESS 71289 71204 72905 72906 72907 72908",
"SPELL_AURA_APPLIED 71289 71001 72108 72109 72110 71237 70674 71204",
"SPELL_AURA_APPLIED_DOSE 71204",
"SPELL_AURA_REMOVED 70842 71289",
Expand Down Expand Up @@ -82,6 +82,7 @@ local specWarnVengefulShadeOnYou = mod:NewSpecialWarningRun(71426, nil, nil, nil

local timerSummonSpiritCD = mod:NewCDTimer(11, 71426, nil, true, nil, 3, nil, nil, true) -- SUMMON cleu event is fired much later than UNIT_SPELLCAST_SUCCEEDED (11.0-13.8), and with higher variance too. Initially using CLEU, but switched to UNIT event. ~5s variance for CLEU [9.4-14.1]. Added "keep" arg (10H Lordaeron 2022/10/02) - 9.9, 12.1, 11.7, 14.1, 10.1, 11.1, 11.7, 11.7, 13.1, 12.1, 9.4 ||| Stage 2/11.4, 11.3, 11.6, 11.3, 11.1, 11.1, 11.2, 11.5, 12.0, 11.3, 11.5, 11.7, 11.1, 11.7, 11.9, 11.4, 11.2, 11.7, 11.8, 11.1, 13.8
local timerFrostboltCast = mod:NewCastTimer(2, 72007, nil, "HasInterrupt")
local timerFrostboltVolleyCD = mod:NewCDTimer(14, 72905, nil, nil, nil, 2)
local timerTouchInsignificance = mod:NewTargetTimer(30, 71204, nil, "Tank|Healer", nil, 5)
local timerTouchInsignificanceCD = mod:NewCDTimer(9, 71204, nil, "Tank|Healer", nil, 5, nil, nil, true) -- ~6s variance [9.0-14.7]. Added "keep" arg (25H Lordaeron [2022-09-04]@[19:35:18] || 25H Lordaeron [2022-09-14]@[19:18:07] || 25H Lordaeron [2022-11-16]@[21:20:38]) - "Touch of Insignificance-71204-npc:36855-224 = pull:143.2/Stage 2/8.2, 11.3, 9.6, 14.7, 9.8, 9.9, 10.9, 11.8, 10.7, 10.2, 9.8, 11.3, 11.9, 10.9, 12.7, 11.6, 12.1, 11.5, 11.5, 10.4, 10.7, 10.4" || pull:132.1/Stage 2/6.0, 12.7, 12.2, 9.9, 13.0, 10.9, 9.1, 10.8, 12.1, 10.0, 11.6, 11.2, 10.0, 10.3, 9.2, 11.0, 12.3, 9.3, 12.6, 11.8, 12.9" || pull:136.6/Stage 2/6.5, 12.5, 9.4, 11.0, 13.7, 10.4, 13.5, 11.2, 10.7, 9.5, 9.0, 12.1, 12.2

Expand Down Expand Up @@ -392,6 +393,8 @@ function mod:SPELL_CAST_SUCCESS(args)
DBM:Debug("Unequipping", 2)
end
end
elseif args:IsSpellID(72905, 72906, 72907, 72908) then -- Frostbolt Volley
timerFrostboltVolleyCD:Start()
elseif spellId == 71204 then -- Touch of Insignificance
timerTouchInsignificanceCD:Start()
end
Expand Down Expand Up @@ -444,6 +447,7 @@ function mod:SPELL_AURA_REMOVED(args)
timerSummonSpiritCD:Start() -- (25H Lordaeron 2022/10/21) - Stage 2/11.0
timerTouchInsignificanceCD:Start(6) -- 3.4s variance [6.0-9.4] (25H Lordaeron [2022-09-23]@[20:40:18] || 25H Lordaeron [2022-10-05]@[20:21:27]) - Stage 2/6.0 || Stage 2/9.4
timerAdds:Cancel()
timerFrostboltVolleyCD:Start(20)
warnAddsSoon:Cancel()
self:Unschedule(addsTimer)
if self:IsHeroic() then -- Edited from retail
Expand Down

0 comments on commit 9bb2038

Please sign in to comment.