Skip to content

Commit

Permalink
maybe this to ignore those last warnings?
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Apr 12, 2024
1 parent 01078ce commit 8c438f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DBM-Raids-MoP/SiegeOfOrgrimmar/Norushen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ end

function mod:ENCOUNTER_START(id)
if id == 1624 then
---@diagnostic disable-next-line: dbm-event-checker
if self.lastWipeTime and GetTime() - self.lastWipeTime < 20 then return end--False ENCOUNTER_START firing on a wipe (blizz bug), ignore it so we don't start pre pull timer

Check warning on line 227 in DBM-Raids-MoP/SiegeOfOrgrimmar/Norushen.lua

View workflow job for this annotation

GitHub Actions / LuaLS-checker

undefined-field

Undefined field `lastWipeTime`.

Check warning on line 227 in DBM-Raids-MoP/SiegeOfOrgrimmar/Norushen.lua

View workflow job for this annotation

GitHub Actions / LuaLS-checker

undefined-field

Undefined field `lastWipeTime`.
self:SendSync("prepull")
end
Expand All @@ -236,6 +237,7 @@ end

function mod:OnSync(msg, guid)
if msg == "prepull" then
---@diagnostic disable-next-line: dbm-event-checker
if self.lastWipeTime and GetTime() - self.lastWipeTime < 20 then return end

Check warning on line 241 in DBM-Raids-MoP/SiegeOfOrgrimmar/Norushen.lua

View workflow job for this annotation

GitHub Actions / LuaLS-checker

undefined-field

Undefined field `lastWipeTime`.

Check warning on line 241 in DBM-Raids-MoP/SiegeOfOrgrimmar/Norushen.lua

View workflow job for this annotation

GitHub Actions / LuaLS-checker

undefined-field

Undefined field `lastWipeTime`.
timerCombatStarts:Start()
elseif msg == "ManifestationDied" and guid then
Expand Down

0 comments on commit 8c438f0

Please sign in to comment.