Unholy Death Knight Target Helper

Addon for those death knights who struggles when to use death coil or epidemic

File Details

release-1.0.2.zip

  • R
  • Mar 14, 2026
  • 8.79 KB
  • 70
  • 12.0.1
  • Retail

File Name

release-1.0.2.zip

Supported Versions

  • 12.0.1
## [1.0.2] - 2026-03-14

### Changed
- **Enemy Detection System (rewritten)**
  - Replaced `for i = 1, 40` nameplate loop with an event-driven system (`NAME_PLATE_UNIT_ADDED/REMOVED`)
  - Only active nameplates are stored at any given time, removing unnecessary iterations
  - Current target is always counted even without a visible nameplate
  - Added `UNIT_FLAGS` handler to drop mobs that turn friendly (e.g. Mind Control)
  - Registered `PLAYER_TARGET_CHANGED` to update the icon immediately on target switch
  - Real mode: fixed threat check to `~= nil` (previously `>= 0` caused taint)