Don't report overkill

This commit is contained in:
2024-12-12 16:53:23 +01:00
parent 1d8e657536
commit 1f4d51a6cc

View File

@@ -26,11 +26,10 @@ function data.DeathReporter.Init()
zone = string.format("%s (%s)", GetZoneText(), GetSubZoneText()) zone = string.format("%s (%s)", GetZoneText(), GetSubZoneText())
end end
local text = string.format("%s killed %s with %s (%d) in %s", local text = string.format("%s killed %s with %s in %s",
tostring(source), tostring(source),
tostring(destination), tostring(destination),
tostring(spellName), tostring(spellName),
tostring(overkill),
tostring(zone)) tostring(zone))
---@type Message ---@type Message
@@ -51,7 +50,9 @@ function data.DeathReporter.Init()
table.insert(data.messenger.queue, msg) table.insert(data.messenger.queue, msg)
end end
end end
notifyTimers[destination] = nil
end) end)
notifyTimers[destination] = timer
end end
local cleuFrame = CreateFrame("Frame") local cleuFrame = CreateFrame("Frame")