- Add server-side state sanity checks so alive mobs cannot remain in dead/death animation state - Enforce dead state/death animation for dead mobs every tick - Remove Damaged-state assignment on hit to avoid hurt-loop visual lock-in - Update pending-clientChanges.md: client should gate loot prompt by isAlive=false && hasLoot=true
781 B
781 B
Pending Client Changes
Status
One client-side update is still required for corpse interaction UX.
Required Client Update
- Gate loot prompt (
E) byhasLoot.
- Server now sends
hasLootfor each mob in join/state payloads. - Show corpse loot interaction only when:
isAlive == falsehasLoot == true
- Hide loot interaction if
hasLoot == false(corpse remains, but not lootable).
Notes
- Server now includes
isAlive/hasLoot/currentAnimationconsistently in mob payloads and sendsmobCatalogon dungeon-enter responses and one-time in dungeon state. - If invisible mobs still occur, keep a fallback render path when
spriteConfigis null:
- Use
definitionId-> local/default sprite mapping. - Apply default tint
#ffffffand scale1.0.