3387c8225d
The unit getters answered for the player alone: - Stat functions gave zeros past player and pet. - `GetGuildInfo` failed on chained tokens. - A group member out of view had no race, class or sex. - `UnitRangedDamage` ignored the weapon's school. - `UnitIsUnit` resolved equal strings first. - `UNIT_INVENTORY_CHANGED` fired only for the player. - Drunk thresholds printed nothing and left `UnitLevel` alone. - `CanInspect` answered nil. The reference: - `UnitIsUnit` compares the strings first. - The getters read the named unit's fields and the name cache. - The visible-item watch (`0x51bc3c`) signals for every player holding a token. - The drunk watcher (`0x5e2a90`) prints and lowers the level. What changed: each getter reads the unit its token names. The item watches, the ammo callback (`0x4c84f0`) and the inspect view signal where the reference does. Each fact is tested against its address. Fixes #1544 Fixes #718 Fixes #1239 Fixes #1232 Fixes #2005 Fixes #169 Fixes #1408 Fixes #1157 Fixes #1409 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>