Files
systemrevivalserver/pending-clientChanges.md
T

856 B

Pending Client Changes

HazardZone Tile Tinting (Ability Type 29)

  • DUNGEON_STATE now includes a top-level hazards array every tick.
  • Each hazard item includes:
    • id
    • sourceMobId
    • x, y, radius (world-space pixels)
    • duration (seconds remaining)
    • tickInterval, nextTickIn
    • damagePerTick, damageTypeKey
    • visualKey
    • tintColor (hex from ability config, ex: #ff5500)
    • tintOpacity (0..1 from ability config)
  • Client behavior:
    • Render tile tint overlay for the area covered by each active hazard in hazards.
    • Keep overlays synchronized to the current hazards list from each state packet.
    • Remove overlay when a hazard no longer exists in the list (expired/removed server-side).
    • If multiple hazards overlap, blend/stack tints in a deterministic order (recommend by id ascending).