From f773457e5485a92f37c37a0fd528b96661485a31 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 12 Dec 2024 18:24:32 +0100 Subject: [PATCH] Shit polish --- Heimdall.lua | 6 ++++++ Whoer.lua | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Heimdall.lua b/Heimdall.lua index ba2a8d2..9de3369 100644 --- a/Heimdall.lua +++ b/Heimdall.lua @@ -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 } diff --git a/Whoer.lua b/Whoer.lua index e383fd2..5be5c0a 100644 --- a/Whoer.lua +++ b/Whoer.lua @@ -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,