Standardize location reporting across modules
This commit is contained in:
@@ -154,7 +154,9 @@ function shared.Spotter.Init()
|
||||
end
|
||||
|
||||
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 (%2.2f, %2.2f)",
|
||||
SetMapToCurrentZone()
|
||||
SetMapByID(GetCurrentMapAreaID())
|
||||
local text = string.format("I see (%s) %s/%s %s of race %s (%s) with health %s/%s at %s [%s](%2.2f, %2.2f)",
|
||||
hostile and "Hostile" or "Friendly",
|
||||
name,
|
||||
class,
|
||||
@@ -164,6 +166,7 @@ function shared.Spotter.Init()
|
||||
FormatHP(hp),
|
||||
FormatHP(maxHp),
|
||||
location,
|
||||
tostring(GetCurrentMapAreaID()),
|
||||
x * 100, y * 100)
|
||||
|
||||
if Heimdall_Data.config.spotter.debug then
|
||||
|
||||
Reference in New Issue
Block a user