Files
moonwell-client-core/docs
Sam Sung 4f1a904ba0 UnitCharacterPoints and UnitOnTaxi answer per unit, as 1.12.1's do (#2396)
`UnitCharacterPoints` answered our own unspent points for every unit. `UnitOnTaxi` answered only for `"player"`, from our own taxi state, so a party or raid frame never saw a member on a flight path.

1.12.1 resolves the token in both:
- `UnitCharacterPoints` (`0x519420`) returns the counters at `+0xe48`/`+0xe4c` for the active player, and 0, 0 for anyone else.
- `UnitOnTaxi` (`0x517a40`) returns 1 when bit 20 of the resolved unit's flags is set (`0x517a86`).

Both now resolve the token. `UnitOnTaxi` reads the unit's flags live through the call host, falling back to the snapshot. `UnitCharacterPoints` raises its reference usage text for a bad argument.

Tests: points for the player and for another unit, the usage text, a party member on and off a taxi, and live against snapshot.

Fixes #2381
Fixes #2382

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 13:54:22 +07:00
..