Skip to content

Commit

Permalink
Staging on gelihast, and notes
Browse files Browse the repository at this point in the history
changed jett to only auto mark lighting shield totems, other two aren't as high prio, but lightning shield needs emphasis
  • Loading branch information
MysticalOS committed Dec 4, 2023
1 parent db5b5b7 commit c45bcc8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
12 changes: 8 additions & 4 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/Gelihast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ local warnCurseofBlackfathom = mod:NewTargetNoFilterAnnounce(411956, 2, nil, "Re
local warnMarchofMurlocs = mod:NewSpellAnnounce(412456, 2)
local warnGroundRupture = mod:NewSpellAnnounce(412528, 2)

local timerShadowStrikeCD = mod:NewCDTimer(11.3, 412072, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)
local timerCurseofBlackfathomCD = mod:NewCDTimer(11.3, 411973, nil, nil, nil, 5, nil, DBM_COMMON_L.CURSE_ICON)
local timerShadowStrikeCD = mod:NewCDTimer(11.3, 412072, nil, "Tank|Healer", 2, 5, nil, DBM_COMMON_L.MAGIC_ICON)
local timerCurseofBlackfathomCD = mod:NewCDTimer(11.3, 411973, nil, "RemoveCurse", 2, 5, nil, DBM_COMMON_L.CURSE_ICON)
local timerShadowCrashCD = mod:NewCDTimer(11.3, 411990, nil, nil, nil, 3)
local timerGroundRuptureCD = mod:NewCDTimer(11.3, 412528, nil, nil, nil, 3)
local timerMarchofMurlocsCD = mod:NewCDTimer(77.6, 412456, nil, nil, nil, 1)
local timerMarchofMurlocsCD = mod:NewCDTimer(77.6, 412456, nil, nil, nil, 6)--Might not be timer based

function mod:OnCombatStart(delay)
self:SetStage(1)
timerShadowStrikeCD:Start(3-delay)
timerCurseofBlackfathomCD:Start(6-delay)
timerShadowCrashCD:Start(8-delay)
Expand All @@ -59,12 +60,15 @@ function mod:SPELL_CAST_SUCCESS(args)
warnGroundRupture:Show()
timerGroundRuptureCD:Start()
elseif args:IsSpell(412456) and self:AntiSpam(25, 2) then
self:SetStage(0)
--Boss stops casting these during murlocs
timerCurseofBlackfathomCD:Stop()
timerShadowStrikeCD:Stop()
timerShadowCrashCD:Stop()
warnMarchofMurlocs:Show()
timerMarchofMurlocsCD:Start()
if self:GetStage(3, 1) then
timerMarchofMurlocsCD:Start()
end
end
end

Expand Down
9 changes: 5 additions & 4 deletions DBM-Raids-Vanilla/VanillaSoD_BFD/LorgusJett.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ mod:RegisterEventsInCombat(
--local warnSleep = mod:NewTargetNoFilterAnnounce(8399, 2)
local warnBlackfathomMurloc = mod:NewSpellAnnounce(419649, 2)
local warnWindfuryTotem = mod:NewSpellAnnounce(414691, 2)
local warnLightningShieldtotem = mod:NewSpellAnnounce(414763, 2)
local warnMoltenFuryTotem = mod:NewSpellAnnounce(419636, 2)

local specWarnLightningShield = mod:NewSpecialWarningSwitch(414763, nil, nil, nil, 1, 2)
local specWarnHeal = mod:NewSpecialWarningInterrupt(407568, "HasInterrupt", nil, nil, 1, 2)

local timerTriplePunctureCD = mod:NewCDNPTimer(10.9, 407794, nil, nil, nil, 5)
Expand All @@ -42,7 +42,7 @@ local timerLightningShieldTotemCD = mod:NewCDTimer(9.5, 414763, nil, nil, nil, 1
local timerMoltenFuryTotemCD = mod:NewCDTimer(9.5, 419636, nil, nil, nil, 1)

mod:AddSetIconOption("SetIconOnAdds", 419649, true, 5, {1, 2})
mod:AddSetIconOption("SetIconOnTotem", 414691, true, 5, {8})
mod:AddSetIconOption("SetIconOnTotem", 414763, true, 5, {8})

mod.vb.iconCount = 1

Expand Down Expand Up @@ -76,7 +76,8 @@ function mod:SPELL_CAST_SUCCESS(args)
warnWindfuryTotem:Show()
timerLightningShieldTotemCD:Start()
elseif args:IsSpell(414763) then--Lighting Shield totem
warnLightningShieldtotem:Show()
specWarnLightningShield:Show()
specWarnLightningShield:Play("attacktotem")
timerMoltenFuryTotemCD:Start()
elseif args:IsSpell(419636) then--Molten Fury totem
warnMoltenFuryTotem:Show()
Expand All @@ -94,7 +95,7 @@ function mod:SPELL_SUMMON(args)
end
self.vb.iconCount = self.vb.iconCount + 1
-- end
elseif args:IsSpell(414691, 414763, 419636) then--All the totems
elseif args:IsSpell(414763) then--All the totems, 419636, 414691
if self.Options.SetIconOnTotem then--Only use up to 5 icons
self:ScanForMobs(args.destGUID, 2, 8, 1, nil, 12, "SetIconOnTotem")
end
Expand Down

0 comments on commit c45bcc8

Please sign in to comment.