Skip to main content

get_default_stats

Function get_default_stats 

Source
pub const fn get_default_stats(entity_type: u16) -> (u16, u16)
Expand description

Returns the default authoritative vitals (max_hp, max_shield) for a given entity type.

These values are the single source of truth for UI and early client-side prediction before authoritative ShipStats updates arrive.