HealthSystem
HealthSystem›Concepts›Core Concepts

Core Concepts

Stable

Understanding damage absorption layers and multiplayer replication.

Core Concepts

HealthSystem structures vitality into intuitive defensive layers.

Damage Absorption Flow#

When an actor receives damage, HealthSystem evaluates protection in this order:

  1. Invulnerability Check: If the actor is currently immune or in post-hit cooldown, incoming damage is discarded.
  2. Armor Layer: If armor is equipped, incoming damage is mitigated by the armor rating percentage before passing through.
  3. Shield Layer: Depletes shield points first. If damage exceeds remaining shields, the leftover damage spills over to health.
  4. Health Layer: Reduces base health. If health reaches 0, the component triggers the On Death event.
Absorption Priority
Click to expand
Visual Guide: Absorption Priority

Server Authority & Replication#

In multiplayer games:

  • The Server calculates all damage, mitigation, and regeneration.
  • Vital statistics replicate to clients using Unreal's optimized replication with RepNotifies.
  • UI elements bind directly to delegate events, ensuring zero jitter and immediate updates.