The unit's faction, or undefined if its faction_id is unknown.
Weapons referenced by weapon_ids, resolved within the unit's own faction —
a bare id shared across factions (e.g. close-combat-weapon) resolves to the
wielder's own copy (issue #59), falling back to global first-wins only for a
genuinely cross-faction id. Unresolved ids are skipped.
Abilities referenced by ability_ids; unresolved ids are skipped.
Wargear options (weapon swaps, add-ons, choices) authored for this unit.
The stat profile at index i (default 0). Returns the schema-generated
profile object directly so callers can feed it straight to the engine
without an intermediate wrapper.
Optionalname?: stringProfile name (e.g., 'Wounded' for degrading)
Optionalinvuln_sv?: number | nullOptionalinvuln_sv_ranged?: number | nullAttack-scoped invulnerable save that applies only to ranged attacks.
Optionalinvuln_sv_melee?: number | nullAttack-scoped invulnerable save that applies only to melee attacks.
Optionalname?: stringProfile name (e.g., 'Wounded' for degrading)
Optionalinvuln_sv?: number | nullOptionalinvuln_sv_ranged?: number | nullAttack-scoped invulnerable save that applies only to ranged attacks.
Optionalinvuln_sv_melee?: number | nullAttack-scoped invulnerable save that applies only to melee attacks.
A unit, linked to its faction, weapons, and abilities.