Simple Taunt Announce - reborn

Simple Taunt Announce reborn

File Details

SimpleTauntAnnounce-1.1.3

  • R
  • Apr 17, 2026
  • 32.21 KB
  • 54
  • 12.0.5+1
  • Retail

File Name

SimpleTauntAnnounce-1.1.3pathfix.zip

Supported Versions

  • 12.0.5
  • 12.0.1

## 1.1.3 — Midnight secret boolean hotfix II (2025)

Follow-up hotfix to 1.1.2. Blizzard extended the secret boolean system to
`UnitIsUnit()`, which now returns a tainted proxy for non-player unit IDs
such as `"targettarget"`. This caused 1052 error spam per session.

### Bug fixes

- **`UnitIsUnit()` returns a secret boolean.** All five call sites replaced
  with a new `SafeUnitIsUnit(a, b)` helper that wraps the call in `pcall`
  and returns a plain Lua boolean. Affected paths:
  - Own-taunt detection (player / pet / vehicle check)
  - `findNewTank` loop (skip-self guard)
  - PATH B group-member guard

### Technical notes

Midnight's taint system now covers the return values of `UnitIsUnit`,
`UnitDetailedThreatSituation`, `UnitInRaid`, `UnitInParty`,
`GetRaidTargetIndex`, and `spellID` from `UNIT_SPELLCAST_SUCCEEDED`.
**Any boolean or identifier returned by a combat/unit API in Midnight
must be consumed through `pcall`.** Direct `if`/`not` tests will crash.

---