Skip to content

Commit

Permalink
Fix luaLS errors in 21 files
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Apr 22, 2024
1 parent 9a7fb39 commit d82787f
Show file tree
Hide file tree
Showing 21 changed files with 78 additions and 58 deletions.
5 changes: 3 additions & 2 deletions DBM-Raids-BfA/CrucibleofStorms/Uunat.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@diagnostic disable: dbm-sync-checker
local mod = DBM:NewMod(2332, "DBM-Raids-BfA", 3, 1177)
local L = mod:GetLocalizedStrings()

Expand Down Expand Up @@ -65,7 +66,7 @@ local specWarnUnstableResonanceVoid = mod:NewSpecialWarningYouPos(293663, nil,
local specWarnUnstableResonanceOcean = mod:NewSpecialWarningYouPos(293662, nil, nil, nil, 1, 6)
local specWarnUnstableResonanceStorm = mod:NewSpecialWarningYouPos(293661, nil, nil, nil, 1, 6)
local yellUnstableResonanceSign = mod:NewPosYell(293653, DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION)
local yellUnstableResonanceRelic = mod:NewPosYell("ej18970", DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION2, nil, nil, "YELL")
local yellUnstableResonanceRelic = mod:NewShortPosYell("ej18970", nil, nil, nil, "YELL")
--Stage One: His All-Seeing Eyes
local specWarnTouchoftheEnd = mod:NewSpecialWarningYou(284851, nil, nil, nil, 1, 2)
local specWarnTouchoftheEndTaunt = mod:NewSpecialWarningTaunt(284851, nil, nil, nil, 1, 6)
Expand Down Expand Up @@ -495,7 +496,7 @@ function mod:SPELL_SUMMON(args)
local UnitID = "nameplate"..i
local GUID = UnitGUID(UnitID)
local cid = self:GetCIDFromGUID(GUID)
if cid == 139059 then
if GUID and cid == 139059 then
local unitPower = UnitPower(UnitID)
if not unitTracked[GUID] then unitTracked[GUID] = "None" end
if (unitPower < 30) then
Expand Down
10 changes: 5 additions & 5 deletions DBM-Raids-BfA/EternalPalace/AbyssalCommanderSivara.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,23 @@ local specWarnFrozenBlood = mod:NewSpecialWarningKeepMove(295795, nil, nil, n
local specWarnVenomousBlood = mod:NewSpecialWarningStopMove(295796, nil, nil, nil, 1, 2)
local specWarnOverwhelmingBarrage = mod:NewSpecialWarningDodge(296551, nil, nil, nil, 3, 2)
local specWarnOverflowingChill = mod:NewSpecialWarningMoveAway(295348, nil, nil, nil, 1, 2)
local yellOverflowingChill = mod:NewPosYell(295348, DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION2)
local yellOverflowingChill = mod:NewShortPosYell(295348)
local yellOverflowingChillFades = mod:NewIconFadesYell(295348)
local specWarnOverflowingVenom = mod:NewSpecialWarningMoveAway(295421, nil, nil, nil, 1, 2)
local yellOverflowingVenom = mod:NewPosYell(295421, DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION2)
local yellOverflowingVenom = mod:NewShortPosYell(295421)
local yellOverflowingVenomFades = mod:NewIconFadesYell(295421)
local specWarnInversion = mod:NewSpecialWarningMoveAway(295791, nil, nil, nil, 3, 2)
local specWarnInversionSicknessFrost = mod:NewSpecialWarningYou(300882, nil, nil, nil, 1, 2)--Separate warning in case user wants to customize sound based on type
local specWarnInversionSicknessToxic = mod:NewSpecialWarningYou(300883, nil, nil, nil, 1, 2)--Separate warning in case user wants to customize sound based on type
local yellInversionSickness = mod:NewYell(300882)
local yellInversionSicknessFades = mod:NewIconFadesYell(300882)
local specWarnFrostJav = mod:NewSpecialWarningYou(295606, nil, nil, nil, 1, 2)
local yellFrostJav = mod:NewPosYell(295606, DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION2)
local yellFrostJav = mod:NewShortPosYell(295606)
local specWarnToxicJav = mod:NewSpecialWarningYou(295607, nil, nil, nil, 1, 2)
local yellToxicJav = mod:NewPosYell(295607, DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION2)
local yellToxicJav = mod:NewShortPosYell(295607)
local specWarnGTFO = mod:NewSpecialWarningGTFO(300961, nil, nil, nil, 1, 8)

local timerCrushingReverbCD = mod:NewCDTimer(22.3, 295332, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, mod:IsMelee() and 2, 4)
local timerCrushingReverbCD = mod:NewCDTimer(22.3, 295332, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, mod:IsMelee() and 2 or nil, 4)
local timerOverwhelmingBarrageCD = mod:NewCDTimer(40, 296551, nil, nil, nil, 2, nil, DBM_COMMON_L.DEADLY_ICON, nil, 1, 4)
local timerOverflowCD = mod:NewCDTimer(40.1, 295346, nil, nil, nil, 3)--31.6 previously, but 40 as of mythic testing
local timerInversionCD = mod:NewCDTimer(72.9, 295791, nil, nil, nil, 2, nil, DBM_COMMON_L.HEROIC_ICON, nil, 3, 4)
Expand Down
4 changes: 2 additions & 2 deletions DBM-Raids-BfA/EternalPalace/LadyPriscillaAshvane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local specWarnGTFO = mod:NewSpecialWarningGTFO(296752, nil, nil, nil, 1, 8)

--local timerCoralGrowthCD = mod:NewCDCountTimer(30, 296555, nil, nil, nil, 3, nil, nil, nil, 1, 4)
local timerRipplingwaveCD = mod:NewCDCountTimer(35, 296688, nil, nil, nil, 3, nil, nil, nil, 3, 4)
local timerBarnacleBashCD = mod:NewCDCountTimer(15, 296725, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, mod:IsTank() and 2, 4)
local timerBarnacleBashCD = mod:NewCDCountTimer(15, 296725, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, mod:IsTank() and 2 or nil, 4)
local timerBrinyBubbleCD = mod:NewCDCountTimer(15, 297324, nil, nil, nil, 3, nil, DBM_COMMON_L.TANK_ICON..DBM_COMMON_L.DAMAGE_ICON, nil, 2, 4)
local timerUpsurgeCD = mod:NewCDCountTimer(15.3, 298055, nil, nil, nil, 3)
--Stage 2
Expand Down Expand Up @@ -293,7 +293,7 @@ function mod:SPELL_AURA_APPLIED(args)
end
end
elseif spellId == 297397 or spellId == 302989 then--Briny targetting spell
warnBrinyBubble:CombinedShow(0.3, args.destname)
warnBrinyBubble:CombinedShow(0.3, args.destName)
if args:IsPlayer() then
specWarnBrinyBubbleNear:Cancel()
specWarnBrinyBubbleNear:CancelVoice()
Expand Down
34 changes: 21 additions & 13 deletions DBM-Raids-BfA/EternalPalace/QueenAzshara.lua
Original file line number Diff line number Diff line change
Expand Up @@ -247,26 +247,30 @@ do
if mod.Options.ShowTimeNotStacks then
--Higher Performance check that scans all debuff remaining times
for uId in DBM:GetGroupMembers() do
if not (UnitGroupRolesAssigned(uId) == "TANK" or GetPartyAssignment("MAINTANK", uId, 1) or UnitIsDeadOrGhost(uId)) then--Exclude tanks and dead
if not (UnitGroupRolesAssigned(uId) == "TANK" or GetPartyAssignment("MAINTANK", uId, true) or UnitIsDeadOrGhost(uId)) then--Exclude tanks and dead
local unitName = DBM:GetUnitFullName(uId)
if unitName then
local spellName2, _, _, _, _, expireTime2 = DBM:UnitDebuff(uId, 298569)
if spellName2 and expireTime2 then
local remaining2 = expireTime2-GetTime()
tempLines[unitName] = math.floor(remaining2)
tempLinesSorted[#tempLinesSorted + 1] = unitName
else
tempLines[unitName] = 0
tempLinesSorted[#tempLinesSorted + 1] = unitName
if spellName2 and expireTime2 then
local remaining2 = expireTime2-GetTime()
tempLines[unitName] = math.floor(remaining2)
tempLinesSorted[#tempLinesSorted + 1] = unitName
else
tempLines[unitName] = 0
tempLinesSorted[#tempLinesSorted + 1] = unitName
end
end
end
end
else
--More performance friendly check that just returns all player stacks (the default option)
for uId in DBM:GetGroupMembers() do
if not (UnitGroupRolesAssigned(uId) == "TANK" or GetPartyAssignment("MAINTANK", uId, 1) or UnitIsDeadOrGhost(uId)) then--Exclude tanks and dead
if not (UnitGroupRolesAssigned(uId) == "TANK" or GetPartyAssignment("MAINTANK", uId, true) or UnitIsDeadOrGhost(uId)) then--Exclude tanks and dead
local unitName = DBM:GetUnitFullName(uId)
tempLines[unitName] = drainedSoulStacks[unitName] or 0
tempLinesSorted[#tempLinesSorted + 1] = unitName
if unitName then
tempLines[unitName] = drainedSoulStacks[unitName] or 0
tempLinesSorted[#tempLinesSorted + 1] = unitName
end
end
end
end
Expand Down Expand Up @@ -366,7 +370,9 @@ function mod:OnCombatStart(delay)
end
for uId in DBM:GetGroupMembers() do
local unitName = DBM:GetUnitFullName(uId)
drainedSoulStacks[unitName] = 0
if unitName then
drainedSoulStacks[unitName] = 0
end
end
if self.Options.InfoFrame then
DBM.InfoFrame:SetHeader(OVERVIEW)
Expand All @@ -391,7 +397,9 @@ function mod:OnTimerRecovery()
for uId in DBM:GetGroupMembers() do
local _, _, currentStack = DBM:UnitDebuff(uId, 298569)
local unitName = DBM:GetUnitFullName(uId)
drainedSoulStacks[unitName] = currentStack or 0
if unitName then
drainedSoulStacks[unitName] = currentStack or 0
end
if UnitIsUnit(uId, "player") and currentStack then
playerSoulDrained = true
end
Expand Down
6 changes: 3 additions & 3 deletions DBM-Raids-BfA/EternalPalace/RadianceofAzshara.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local yellArcaneBomb = mod:NewPosYell(296737)
local yellArcaneBombFades = mod:NewIconFadesYell(296737)
local specWarnUnshackledPower = mod:NewSpecialWarningCount(296894, nil, nil, nil, 2, 2)

local timerTideFistCD = mod:NewNextCountTimer(58.2, 296546, nil, "Tank", nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, mod:IsTank() and 2, 4)
local timerTideFistCD = mod:NewNextCountTimer(58.2, 296546, nil, "Tank", nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, mod:IsTank() and 2 or nil, 4)
local timerArcanadoBurstCD = mod:NewNextCountTimer(58.2, 296430, nil, nil, nil, 3)
local timerArcaneBombCD = mod:NewNextCountTimer(58.2, 296737, nil, "-Tank", nil, 3, nil, nil, nil, 3, 4)
local timerUnshacklingPowerCD = mod:NewNextCountTimer(58.2, 296894, nil, nil, nil, 2, nil, DBM_COMMON_L.HEALER_ICON, nil, 1, 4)
Expand Down Expand Up @@ -160,7 +160,7 @@ function mod:SPELL_AURA_APPLIED(args)
yellArcaneBombFades:Countdown(spellId, nil, icon)
end
if self.Options.SetIconOnArcaneBomb then
self:SetIcon(args.destname, self.vb.arcaneBombicon)
self:SetIcon(args.destName, self.vb.arcaneBombicon)
end
self.vb.arcaneBombicon = self.vb.arcaneBombicon + 1
end
Expand All @@ -173,7 +173,7 @@ function mod:SPELL_AURA_REMOVED(args)
yellArcaneBombFades:Cancel()
end
if self.Options.SetIconOnArcaneBomb then
self:SetIcon(args.destname, 0)
self:SetIcon(args.destName, 0)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/EternalPalace/TheQueensCourt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ local yellFreneticCharge = mod:NewYell(299914, nil, nil, nil, "YELL")
local yellFreneticChargeFades = mod:NewShortFadesYell(299914, nil, nil, nil, "YELL")
local specWarnZealousEruption = mod:NewSpecialWarningMoveTo(301807, nil, nil, nil, 3, 2)

local timerFreneticChargeCD = mod:NewNextTimer(40, 299914, nil, nil, nil, 3, nil, nil, nil, not mod:IsTank() and 2, 4)
local timerFreneticChargeCD = mod:NewNextTimer(40, 299914, nil, nil, nil, 3, nil, nil, nil, not mod:IsTank() and 2 or nil, 4)
local timerZealousEruptionCD = mod:NewNextTimer(104.4, 301807, nil, nil, nil, 2)

mod:AddSetIconOption("SetIconFreneticCharge", 299914, true, false, {4})
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/Nyalotha/Drestagath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mod:RegisterEventsInCombat(
"SPELL_AURA_REMOVED 310277 310358 312595 310361",
-- "SPELL_PERIODIC_DAMAGE",
-- "SPELL_PERIODIC_MISSED",
"UNIT_DIED",
-- "UNIT_DIED",
"UNIT_SPELLCAST_SUCCEEDED boss1",
"UNIT_POWER_UPDATE boss1"
)
Expand Down
4 changes: 2 additions & 2 deletions DBM-Raids-BfA/Nyalotha/IlgynothCorruptionReborn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function mod:SPELL_AURA_APPLIED(args)
end
if spellId == 313759 then--Mythic Only Option
if self.Options.SetIconOnCusedBlood then
self.SetIcon(args.destName, self.vb.bloodIcon)
self:SetIcon(args.destName, self.vb.bloodIcon)
end
self.vb.bloodIcon = self.vb.bloodIcon + 1
end
Expand Down Expand Up @@ -342,7 +342,7 @@ function mod:SPELL_AURA_REMOVED(args)
end
if spellId == 313759 then--Mythic Only Option
if self.Options.SetIconOnCusedBlood then
self.SetIcon(args.destName, 0)
self:SetIcon(args.destName, 0)
end
end
end
Expand Down
16 changes: 11 additions & 5 deletions DBM-Raids-BfA/Nyalotha/NZothTheCorruptor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,11 @@ do
if select(4, UnitPosition(uId)) == currentMapId then
if (difficultyName == "mythic" or not mod.Options.HideDead or not UnitIsDeadOrGhost(uId)) then
local unitName = DBM:GetUnitFullName(uId)
local count = UnitPower(uId, ALTERNATE_POWER_INDEX)
tempLines[unitName] = count
tempLinesSorted[#tempLinesSorted + 1] = unitName
if unitName then
local count = UnitPower(uId, ALTERNATE_POWER_INDEX)
tempLines[unitName] = count
tempLinesSorted[#tempLinesSorted + 1] = unitName
end
end
end
end
Expand Down Expand Up @@ -513,7 +515,9 @@ function mod:OnCombatStart(delay)
end
for uId in DBM:GetGroupMembers() do
local name = DBM:GetUnitFullName(uId)
neckAvailable[name] = true
if name then
neckAvailable[name] = true
end
end
currentMapId = select(4, UnitPosition("player"))
if self.Options.InfoFrame then
Expand Down Expand Up @@ -554,7 +558,9 @@ function mod:OnTimerRecovery()
--On recovery no way to know neck status, so set all to false
for uId in DBM:GetGroupMembers() do
local name = DBM:GetUnitFullName(uId)
neckAvailable[name] = false
if name then
neckAvailable[name] = false
end
end
end

Expand Down
6 changes: 3 additions & 3 deletions DBM-Raids-BfA/Nyalotha/TheProphetSkitra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ mod:RegisterEventsInCombat(
"SPELL_CAST_SUCCESS 313239 307937 313276",
"SPELL_AURA_APPLIED 307784 307785 313208 308065 307950",
"SPELL_AURA_APPLIED_DOSE 308059",
"SPELL_AURA_REMOVED 313208 308065 307950",--307784 307785
"UNIT_SPELLCAST_SUCCEEDED boss1"
"SPELL_AURA_REMOVED 313208 308065 307950"--307784 307785
-- "UNIT_SPELLCAST_SUCCEEDED boss1"
)

--[[
Expand All @@ -40,7 +40,7 @@ local specWarnImagesofAbsolutionSwitch = mod:NewSpecialWarningSwitch(313239, "d
local specWarnShadowShock = mod:NewSpecialWarningStack(308059, nil, 7, nil, nil, 1, 6)
local specWarnShadowShockTaunt = mod:NewSpecialWarningTaunt(308059, nil, nil, nil, 1, 2)
local specWarnShredPsyche = mod:NewSpecialWarningMoveAway(307937, nil, nil, nil, 1, 2)
local yellShredPsyche = mod:NewPosYell(307937, DBM_CORE_L.AUTO_YELL_CUSTOM_POSITION2)
local yellShredPsyche = mod:NewShortPosYell(307937)
local yellShredPsycheFades = mod:NewIconFadesYell(307937)
local specWarnShredPsycheSwitch = mod:NewSpecialWarningSwitch(307937, "dps", nil, nil, 1, 2)

Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/Nyalotha/Vexiona.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function mod:OnCombatStart(delay)
local UnitID = "nameplate"..i
local GUID = UnitGUID(UnitID)
local cid = self:GetCIDFromGUID(GUID)
if cid == 157447 then
if GUID and cid == 157447 then
local unitPower = UnitPower(UnitID)
if not unitTracked[GUID] then unitTracked[GUID] = "None" end
if (unitPower < 30) then
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/Uldir/Mythrax.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ mod:AddTimerLine(SCENARIO_STAGE:format(1))
local timerEssenceShearCD = mod:NewNextSourceTimer(19.5, 274693, 41032, "Tank", nil, 5, nil, DBM_COMMON_L.TANK_ICON, nil, 2, 3)--Short Text "Shear", All timers generlaly 20 but 19.9 can happen and DBM has to use lost known time
local timerObliterationBlastCD = mod:NewNextSourceTimer(14.9, 273538, 158259, nil, nil, 3)--Short Text "Blast"
local timerOblivionSphereCD = mod:NewNextCountTimer(14.9, 272407, nil, nil, nil, 3, nil, nil, nil, 1, 3)
local timerImminentRuinCD = mod:NewNextCountTimer(14.9, 272536, 139074, nil, nil, 3, nil, nil, nil, not mod:IsTank() and 3, 3)--Short Text "Ruin"
local timerImminentRuinCD = mod:NewNextCountTimer(14.9, 272536, 139074, nil, nil, 3, nil, nil, nil, not mod:IsTank() and 3 or nil, 3)--Short Text "Ruin"
local timerLivingWeaponCD = mod:NewNextTimer(60.5, 276922, nil, nil, nil, 1, nil, DBM_COMMON_L.MYTHIC_ICON)--Mythic
local timerVoidEchoesCD = mod:NewNextCountTimer(60.5, 279157, nil, nil, nil, 2, nil, DBM_COMMON_L.HEROIC_ICON)
mod:AddTimerLine(SCENARIO_STAGE:format(2))
Expand Down
13 changes: 8 additions & 5 deletions DBM-Raids-BfA/Uldir/Vectis.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@diagnostic disable: cast-local-type, assign-type-mismatch
local mod = DBM:NewMod(2166, "DBM-Raids-BfA", 5, 1031)
local L = mod:GetLocalizedStrings()

Expand Down Expand Up @@ -61,7 +62,7 @@ local specWarnTerminalEruption = mod:NewSpecialWarningSpell(274989, nil, nil,
--mod:AddTimerLine(Nexus)
local timerEvolvingAfflictionCD = mod:NewCDTimer(8.5, 265178, nil, "Tank", nil, 5, nil, DBM_COMMON_L.TANK_ICON)
local timerGestateCD = mod:NewNextTimer(25.5, 265212, nil, nil, nil, 3, nil, nil, nil, 1, 3)
local timerContagionCD = mod:NewNextCountTimer(23, 267242, nil, nil, nil, 2, nil, DBM_COMMON_L.DEADLY_ICON, nil, mod:IsHealer() and 2, 3)
local timerContagionCD = mod:NewNextCountTimer(23, 267242, nil, nil, nil, 2, nil, DBM_COMMON_L.DEADLY_ICON, nil, mod:IsHealer() and 2 or nil, 3)
local timerLiquefyCD = mod:NewNextTimer(90.9, 265217, nil, nil, nil, 6, nil, nil, nil, 3, 3)
local timerplagueBombCD = mod:NewCDCountTimer(11.4, 266459, nil, nil, nil, 5)--11.4 or 12.2, not sure which one blizz decided on, find out later
local timerImmunoSuppCD = mod:NewCDCountTimer("d25.5", 265206, nil, nil, nil, 5, nil, DBM_COMMON_L.HEALER_ICON)
Expand Down Expand Up @@ -176,9 +177,11 @@ do
--Show lingering and vectors combined for entire raid
for uId in DBM:GetGroupMembers() do
local unitName = DBM:GetUnitFullName(uId)
local count = lingeringTable[unitName] or 0
tempLines[unitName] = count
tempLinesSorted[#tempLinesSorted + 1] = unitName
if unitName then
local count = lingeringTable[unitName] or 0
tempLines[unitName] = count
tempLinesSorted[#tempLinesSorted + 1] = unitName
end
end
--Sort lingering according to options
if showHighest then
Expand All @@ -188,7 +191,7 @@ do
end
--Now move lingering back into regular infoframe tables
for _, name in ipairs(tempLinesSorted) do
local hasVector = false
local hasVector = -1
for i=1, 4 do
if vectorTargets[i] and vectorTargets[i] == name then
DBM:Debug("Vector "..i.." on "..name, 3)
Expand Down
4 changes: 2 additions & 2 deletions DBM-Raids-BfA/Uldir/Zekvhozj.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ local timerTitanSparkCD = mod:NewCDTimer(37.6, 264954, nil, "Healer", nil, 2
local timerAddsCD = mod:NewAddsTimer(120, 31700, nil, nil, nil, 1, nil, DBM_COMMON_L.DAMAGE_ICON)--Generic Timer only used on Mythic
mod:AddTimerLine(SCENARIO_STAGE:format(1))
local timerQirajiWarriorCD = mod:NewCDTimer(60, "ej18071", nil, nil, nil, 1, 31700)--UNKNOWN, TODO
local timerEyeBeamCD = mod:NewCDTimer(40, 264382, nil, nil, nil, 3, nil, nil, nil, not mod:IsTank() and 3, 5)
local timerEyeBeamCD = mod:NewCDTimer(40, 264382, nil, nil, nil, 3, nil, nil, nil, not mod:IsTank() and 3 or nil, 5)
mod:AddTimerLine(SCENARIO_STAGE:format(2))
local timerAnubarCasterCD = mod:NewCDTimer(80, "ej18397", nil, nil, nil, 1, 31700)--82
local timerRoilingDeceitCD = mod:NewCDTimer(45, 265360, nil, nil, nil, 3)--61
Expand Down Expand Up @@ -312,7 +312,7 @@ function mod:UNIT_SPELLCAST_SUCCEEDED(uId, _, spellId)
elseif spellId == 264746 then--Eye beam
self.vb.eyeCount = 0
specWarnEyeBeamSoon:Show()
specWarnEyeBeamSoon:Play("Scattersoon")
specWarnEyeBeamSoon:Play("scattersoon")
--here because this spell ID fires at beginning of each set ONCE
if self:IsMythic() then
timerEyeBeamCD:Schedule(6, 60)
Expand Down
Loading

0 comments on commit d82787f

Please sign in to comment.