Shit polish
This commit is contained in:
@@ -2,6 +2,12 @@ local addonname, data = ...
|
||||
---@cast data HeimdallData
|
||||
---@cast addonname string
|
||||
|
||||
-- TODO: Maybe make a configuration weakaura, make use of weakaura options...
|
||||
-- TODO: Implement counting kills and display on whosniffer
|
||||
-- Take last N seconds of combatlog into account ie. count who does damage to who
|
||||
-- Maybe even make an alert when someone does too much damage to someone else...
|
||||
-- But that would not be trivial as of now, I can't think of a way to do it sensibly
|
||||
|
||||
local function init()
|
||||
---@class Heimdall_Data
|
||||
---@field who { data: table<string, Player> }
|
||||
|
||||
@@ -62,9 +62,11 @@ function data.Whoer.Init()
|
||||
---@return string
|
||||
NotifyMessage = function(self)
|
||||
local text = string.format(
|
||||
"%s of class %s and guild %s in %s, first seen: %s, last seen: %s, times seen: %d",
|
||||
"%s of class %s, race %s (%s) and guild %s in %s, first seen: %s, last seen: %s, times seen: %d",
|
||||
self.name,
|
||||
self.class,
|
||||
self.race,
|
||||
tostring(data.raceMap[self.race]),
|
||||
self.guild,
|
||||
self.zone,
|
||||
self.firstSeen,
|
||||
|
||||
Reference in New Issue
Block a user