Skip to content

Commit

Permalink
ICC-Deathwhisper: restart Dominate Mind timer on P2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Jan 12, 2025
1 parent 48ae1ba commit c49a780
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 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("20240716152353")
mod:SetRevision("20250112192808")
mod:SetCreatureID(36855)
mod:SetUsedIcons(1, 2, 3, 7, 8)
mod:SetMinSyncRevision(20220905000000)
Expand Down Expand Up @@ -375,7 +375,9 @@ end
function mod:SPELL_CAST_SUCCESS(args)
local spellId = args.spellId
if spellId == 71289 then -- Fires 1x/3x on 10/25m
timerDominateMindCD:Restart()
if self:AntiSpam(5, 2) then -- Do AntiSpam instead of Restart to catch early MCs
timerDominateMindCD:Start()
end
DBM:Debug("MC on "..args.destName, 2)
if args.destName == UnitName("player") then
if self.Options.RemoveBuffsOnMC ~= "Never" then
Expand Down Expand Up @@ -444,6 +446,7 @@ function mod:SPELL_AURA_REMOVED(args)
self:SetStage(2)
warnPhase2:Show()
warnPhase2:Play("ptwo")
timerDominateMindCD:Restart(30)
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()
Expand Down

0 comments on commit c49a780

Please sign in to comment.