Structs§
Functions§
- calculate_
entity_ stats - calculate_
entity_ stats_ with_ mods - Same as
calculate_entity_stats, plus.modmultipliers addressed by attribute code rather than by config id. - calculate_
player_ entity_ stats_ with_ zeroes - calculate_
player_ entity_ stats_ without_ zeroes - compose_
max_ hp - Compose the fight
max_hpfrom an aggregated attribute map the same way combat composes every other stat (fight::get_entity_stat): raw hp, plus additivehp.bonus, times thehp.modmultiplier (+10000 == +1.0, floored atMIN_STAT_MOD_MULT). This keepshp.mod/hp.bonusgrants (class levels, the Endurance talent) real in combat and consistent with the power scalar’sget_attr_from_attrscomposition.