Update README.md

This commit is contained in:
Relationship
2026-07-03 07:23:33 +01:00
committed by GitHub
parent 0c395096c0
commit 5c6c2074e4
+12 -12
View File
@@ -67,25 +67,25 @@ All settings are accessible via the /tp GUI:
ThreatPlates uses a three-tier threat detection system: ThreatPlates uses a three-tier threat detection system:
*1. UnitDetailedThreatSituation (Turtle WoW extension) - most accurate * UnitDetailedThreatSituation (Turtle WoW extension) - most accurate
*2. GetThreatPercent API (if available) - precise percentage * GetThreatPercent API (if available) - precise percentage
*3. UnitThreatSituation with heuristics - fallback estimation * UnitThreatSituation with heuristics - fallback estimation
*The addon polls threat every 0.2 seconds and updates nameplate *The addon polls threat every 0.2 seconds and updates nameplate
*visuals every 0.3 seconds for smooth animation. *visuals every 0.3 seconds for smooth animation.
== Installation == == Installation ==
*1. Extract the ThreatPlates folder to your Interface/AddOns/ directory * Extract the ThreatPlates folder to your Interface/AddOns/ directory
*2. Restart WoW or reload the UI (/console reloadui) *Restart WoW or reload the UI (/console reloadui)
*3. Type /tp to configure *Type /tp to configure
== Version History == == Version History ==
* v1.1.0 * v1.1.0
*- Fixed Lua 5.0/1.12 parser issues (no varargs, no string.match) * Fixed Lua 5.0/1.12 parser issues (no varargs, no string.match)
*- Fixed bare format/floor globals (use string.format/math.floor) * Fixed bare format/floor globals (use string.format/math.floor)
*- Fixed CheckButton SetBackdrop (use Frame + textures instead) * Fixed CheckButton SetBackdrop (use Frame + textures instead)
*- Added pcall() safety for nameplate child scanning * Added pcall() safety for nameplate child scanning
*- Cached GetChildren/GetRegions calls for performance * Cached GetChildren/GetRegions calls for performance
*- Three-tier threat detection with fallback heuristics * Three-tier threat detection with fallback heuristics