Standardize location reporting across modules
This commit is contained in:
@@ -67,13 +67,16 @@ function shared.CombatAlerter.Init()
|
||||
y * 100))
|
||||
end
|
||||
|
||||
SetMapToCurrentZone()
|
||||
SetMapByID(GetCurrentMapAreaID())
|
||||
---@type Message
|
||||
local msg = {
|
||||
channel = "CHANNEL",
|
||||
data = Heimdall_Data.config.combatAlerter.masterChannel,
|
||||
message = string.format("%s is attacking me in %s(%s) at %2.2f,%2.2f ",
|
||||
message = string.format("I am in combat with %s at %s (%s) at [%s](%2.2f, %2.2f)",
|
||||
source,
|
||||
zone, subZone,
|
||||
tostring(GetCurrentMapAreaID()),
|
||||
x * 100, y * 100
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user