File Details
2.5.2
- R
- Feb 28, 2026
- 135.01 KB
- 685
- 12.0.1
- Retail
File Name
TooltipInfo-2.5.2.zip
Supported Versions
- 12.0.1
TooltipInfo
2.5.2 (2026-02-28)
Full Changelog Previous Releases
- fix(TooltipInfo): guard all Unit API returns against secret values for WoW 12.0.0
IntroduceCore/SecretValue.luawith two shared helpers —addon.SafeUnit(unit),
which resolves secret unit tokens to "mouseover", andaddon.IsSecret(val), a
nil-safe wrapper aroundissecretvalue(). Load the file first in the .toc so all
feature scripts can consume it.
Refactor all 15 feature files andCore/Player.luato use these helpers instead of
inlineissecretvalueguards. Every Unit API return that is used in a boolean test
(UnitIsPlayer,UnitIsPVP,UnitIsAFK,UnitIsDND,UnitIsConnected,
UnitIsEnemy,UnitCanAttack,UnitIsDeadOrGhost,UnitExists,UnitIsUnit,
UnitClassification,UnitHonorLevel,GetRaidTargetIndex,UnitReaction) is now
checked withIsSecret()before any conditional, since all these APIs return secret
values when called inside Blizzard'sforceinsecure()tooltip callback wrapper.

