diff --git a/Heimdall.toc b/Heimdall.toc index 2b999fb..cd5aa7c 100644 --- a/Heimdall.toc +++ b/Heimdall.toc @@ -1,6 +1,6 @@ ## Interface: 70300 ## Title: Heimdall -## Version: 2.14.0 +## Version: 2.14.1 ## Notes: Watches over areas and alerts when hostiles spotted ## Author: Cyka ## SavedVariables: Heimdall_Data diff --git a/Heimdall.zip b/Heimdall.zip index 5bf684b..963fba6 100644 --- a/Heimdall.zip +++ b/Heimdall.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:87c0c1e2c6af116629ec1a253fbd6a8b1c285fc915843799f0ffa2004659a116 -size 27448 +oid sha256:ffab49f0848c495d76571714d0d23e28f37d968aecbd3529aee6769a8028234b +size 27466 diff --git a/Modules/CombatAlerter.lua b/Modules/CombatAlerter.lua index c0948e7..d8b9485 100644 --- a/Modules/CombatAlerter.lua +++ b/Modules/CombatAlerter.lua @@ -24,10 +24,10 @@ function shared.CombatAlerter.Init() local msg = { channel = "CHANNEL", data = Heimdall_Data.config.combatAlerter.masterChannel, - message = string.format("%s is attacking me in %s(%s) at %.2f,%.2f ", + message = string.format("%s is attacking me in %s(%s) at %2.2f,%2.2f ", source, GetZoneText(), GetSubZoneText(), - x, y + x * 100, y * 100 ), } table.insert(shared.messenger.queue, msg) diff --git a/Modules/Spotter.lua b/Modules/Spotter.lua index f7aa1a5..d74f591 100644 --- a/Modules/Spotter.lua +++ b/Modules/Spotter.lua @@ -84,7 +84,7 @@ function shared.Spotter.Init() 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 (%.2f, %.2f)", + local text = string.format("I see (%s) %s/%s %s of race %s (%s) with health %s/%s at %s (%2.2f, %2.2f)", hostile and "Hostile" or "Friendly", name, class, @@ -94,7 +94,7 @@ function shared.Spotter.Init() FormatHP(hp), FormatHP(maxHp), location, - x, y) + x * 100, y * 100) ---@type Message local msg = {