pub fn character_power(
config: &GameConfig,
lookups: &ContentLookups,
level: i64,
inventory: &[Item],
abilities: &EquippedAbilities,
pets: &[Pet],
) -> Result<i64, String>Expand description
Character power over the items+pets subset (marginal gear-compare path and
arena-bot power): composed attrs → power_from_attrs → honest ability
multipliers (ability_power_mults, DPS/EHP-split).
Accumulation order is load-bearing (per-key float sums): char-level attributes, then inventory items (each item’s attributes in order), then pets (in the given slice order, each pet’s stats in order).