diff --git a/Modules/Spotter.lua b/Modules/Spotter.lua index 2c7ec2d..f7aa1a5 100644 --- a/Modules/Spotter.lua +++ b/Modules/Spotter.lua @@ -82,8 +82,9 @@ function shared.Spotter.Init() location = string.format("%s (%s)", zone, subzone) end + local x, y = GetPlayerMapPosition("player") local stinky = Heimdall_Data.config.stinkies[name] or false - local text = string.format("I see (%s) %s/%s %s of race %s (%s) with health %s/%s at %s", + local text = string.format("I see (%s) %s/%s %s of race %s (%s) with health %s/%s at %s (%.2f, %.2f)", hostile and "Hostile" or "Friendly", name, class, @@ -92,7 +93,8 @@ function shared.Spotter.Init() faction, FormatHP(hp), FormatHP(maxHp), - location) + location, + x, y) ---@type Message local msg = {