fix(rules): expose healing_done in per-combatant stats and the CLI report - the channel/spell healing deliberately removed from damage_dealt (2e2873f) was invisible; CombatantStats/_LiveStats gain a healing_done counter booked with the hp actually restored (capped at the target's hp_max, overheal uncounted) by _channel_heal and by spell HealEffect on living targets, while cure-as-damage on undead stays in damage_dealt and the damage counters keep their exact semantics; the runner aggregates and averages the new field and the French report prints it as 'soins prodigués'; +4 tests (channel heal, cure spell, undead cure guard, run_encounter aggregate) +1 CLI assertion
This commit is contained in:
@@ -267,7 +267,7 @@ def test_cli_wires_the_flag_to_the_runner(
|
||||
draws=0,
|
||||
avg_rounds=1.0,
|
||||
attrition={
|
||||
combatant.id: CombatantAttrition(0.0, 0.0, 0.0, 0.0)
|
||||
combatant.id: CombatantAttrition(0.0, 0.0, 0.0, 0.0, 0.0)
|
||||
for side in spec.sides
|
||||
for combatant in side.combatants
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user