File Details
SimpleTauntAnnounce-1.1.1
- R
- Apr 9, 2026
- 31.08 KB
- 35
- 12.0.5+1
- Retail
File Name
SimpleTauntAnnounce.zip
Supported Versions
- 12.0.5
- 12.0.1
# 1.1.1 — Detection sensitivity improvements (2025)
Focused patch addressing missed notifications for other tanks' taunts.
No breaking changes; fully backwards compatible with 1.1.0 saved settings.
### Bug fixes
- **`PLAYER_TARGET_CHANGED` reset removed.** The previous release reset the
internal `playerWasTanking` flag every time the player changed target. In
practice this caused the majority of missed "other tank taunted" notifications:
switching targets mid-fight (e.g. targeting an add then returning to the boss)
cleared the tracking state, so the next aggro-loss transition was invisible.
### Improvements
- **Dual-path threat detection.** `UNIT_THREAT_SITUATION_UPDATE` now handles
two independent detection paths instead of one:
- **Path A** (`unitID == 'player'`): fires when the player was the primary
threat holder and is no longer — existing behaviour, now without the
erroneous target-change reset.
- **Path B** (`unitID == raid/party member`): fires when another group member
*becomes* the primary threat holder on the player's current target. This
path triggers independently of the player's own threat state, catching
events that Path A misses due to timing or state drift.
A 0.5-second flood guard prevents the two paths from double-announcing the
same event.
- **`pcall` guard on `GetRaidTargetIndex()` return value.** `GetRaidTargetIndex`
was returning a Midnight secret value (truthy proxy that crashes on table
index). Wrapped in `pcall` — same pattern as `spellID` and `UnitGUID`.
On failure the raid icon portion of the message is silently omitted; the
rest of the announcement still fires.
---