pub fn character_power_from_attrs(
config: &GameConfig,
lookups: &ContentLookups,
attrs: &AttrMap,
abilities: &EquippedAbilities,
leader_pet_ability: Option<(Uuid, i64)>,
) -> i64Expand description
Combat-power scalar from an already-composed AttrMap plus equipped
abilities — floor(power_from_attrs(attrs) × dps_mult × ehp_mult) with the
honest ability multipliers (ability_power_mults).
Lets the display / matchmaking / gating path feed the full multi-source
aggregation (attributes::calculate_player_entity_stats_with_zeroes —
char-level, items, class, pets, talents, statue, class-levels) through the
same formula, so the power scalar reflects every combat source.
character_power keeps the items+pets subset for marginal
gear-compare, where the constant class/talent/statue baseline cancels in
the with-minus-without difference.