pub fn character_power_from_attrs(
config: &GameConfig,
lookups: &ContentLookups,
attrs: &AttrMap,
abilities: &EquippedAbilities,
) -> i64Expand description
Combat-power scalar from an already-composed AttrMap plus equipped
abilities — floor(power_from_attrs(attrs) × Σ ability_eff).
Balance v2 (Phase 4 fix): 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.