Statlines represent the statistical characteristics of fighters and vehicles (Movement, Weapon Skill, Ballistic Skill, etc.).
Gyrinx uses two statline systems:
Legacy System - Simple stat fields on ContentFighter with _override fields on ListFighter
ContentFighter
_override
ListFighter
New System - Flexible custom statline types with separate override storage
The new system supports vehicles and crew with different stat requirements (e.g., Toughness Front/Side/Rear for vehicles).
Both systems follow this pattern:
Get the statline from the underlying ContentFighter
Apply any overrides from the ListFighter
Apply any mods from equipment or advancements
The new system requires careful query optimisation to avoid N+1 queries. See the models diagram below for the relationship complexity.
Custom statlines for vehicles:
Last updated 2 months ago