Add player coordinates to spotter
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user