From 0c395096c044991a022a69f8d16002fc4db13aa7 Mon Sep 17 00:00:00 2001 From: Relationship <139162359+Relationship-OctoWoW@users.noreply.github.com> Date: Fri, 3 Jul 2026 07:22:25 +0100 Subject: [PATCH] Update README.md --- README.md | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 9b6a947..1145446 100644 --- a/README.md +++ b/README.md @@ -44,48 +44,48 @@ All settings are accessible via the /tp GUI: * Smooth Colours (gradient transitions) Appearance: - - Bar Height (2-12 px) - - Bar Offset Y (-20 to 0 px) - - Bar Alpha (0.1-1.0) - - Font Size (6-14 pt) - - Font Outline + *- Bar Height (2-12 px) + *- Bar Offset Y (-20 to 0 px) + *- Bar Alpha (0.1-1.0) + *- Font Size (6-14 pt) + *- Font Outline Kui Style Effects: - - Show Spark (bright leading edge) - - Show Fill Background (dim ghost behind bar) - - Fill Alpha (0.05-0.50) - - Enable Glow (border glow based on threat) - - Glow as Shadow (subtle vs bright) - - Glow Size (1-8 px) + *- Show Spark (bright leading edge) + *- Show Fill Background (dim ghost behind bar) + *- Fill Alpha (0.05-0.50) + *- Enable Glow (border glow based on threat) + *- Glow as Shadow (subtle vs bright) + *- Glow Size (1-8 px) Display Filters: - - Show on Hostile units - - Show on Neutral units - - Show on Friendly units + *- Show on Hostile units + *- Show on Neutral units + *- Show on Friendly units == Threat Detection == ThreatPlates uses a three-tier threat detection system: - 1. UnitDetailedThreatSituation (Turtle WoW extension) - most accurate - 2. GetThreatPercent API (if available) - precise percentage - 3. UnitThreatSituation with heuristics - fallback estimation + *1. UnitDetailedThreatSituation (Turtle WoW extension) - most accurate + *2. GetThreatPercent API (if available) - precise percentage + *3. UnitThreatSituation with heuristics - fallback estimation -The addon polls threat every 0.2 seconds and updates nameplate -visuals every 0.3 seconds for smooth animation. + *The addon polls threat every 0.2 seconds and updates nameplate + *visuals every 0.3 seconds for smooth animation. == Installation == - 1. Extract the ThreatPlates folder to your Interface/AddOns/ directory - 2. Restart WoW or reload the UI (/console reloadui) - 3. Type /tp to configure + *1. Extract the ThreatPlates folder to your Interface/AddOns/ directory + *2. Restart WoW or reload the UI (/console reloadui) + *3. Type /tp to configure == Version History == - v1.1.0 - Complete rewrite for Turtle WoW compatibility - - Fixed Lua 5.0/1.12 parser issues (no varargs, no string.match) - - Fixed bare format/floor globals (use string.format/math.floor) - - Fixed CheckButton SetBackdrop (use Frame + textures instead) - - Added pcall() safety for nameplate child scanning - - Cached GetChildren/GetRegions calls for performance - - Three-tier threat detection with fallback heuristics + * v1.1.0 + *- Fixed Lua 5.0/1.12 parser issues (no varargs, no string.match) + *- Fixed bare format/floor globals (use string.format/math.floor) + *- Fixed CheckButton SetBackdrop (use Frame + textures instead) + *- Added pcall() safety for nameplate child scanning + *- Cached GetChildren/GetRegions calls for performance + *- Three-tier threat detection with fallback heuristics