Files
moonwell-client-core/docs
Sam Sung 68176302d5 A worldport frees the cooldowns and cancels open loot rolls (#2775)
A cross-map worldport kept the old cooldowns and left open loot rolls up in the new world.

Reference: the worldport's teardown timer `0x401bc0` frees every cooldown after the objects' walk (`ClearItemAndSpellCooldowns` `0x6e9ad0` at `0x401c17`). That covers the player's and the pet's lists and the item table, with no flush. Then it cancels every open roll (`CancelAllLootRolls` `0x61b290` at `0x401c2c`), signalling CANCEL_LOOT_ROLL for each one not queued, before the map load.

Changed: two legs after the objects' leg of the worldport timer, in that order. The legs run once per load.

Tests:
- a port cancels the open rolls in the next frame;
- a port empties the cooldowns, and the server's resend seeds only what it lists;
- a same-map teleport touches neither.

Fixes #2769
Fixes #2770

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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 23:00:52 +07:00
..