Fix rest strategy using stale cached health — read bot stats directly

The main thread SnapshotBotState runs in OnWorldUpdate BEFORE
Map::Update/Player::Update, so it captures pre-regen health values.
The cache showed 49.4% while actual health was 100%.

Worker thread reads of bot->GetHealthPct() return correct values
because Player::Update has already run by the time the worker executes.
Reverted to direct reads which are proven correct by the
RestStrategy::UpdateBehavior logs showing health=100%.
This commit is contained in:
luis
2026-03-31 11:34:42 -03:00
parent 18c682e092
commit 63c0420f71
File diff suppressed because it is too large Load Diff