Skip to content

4.2.0

Choose a tag to compare

@Smantella Smantella released this 26 Oct 13:42
· 2 commits to main since this release
0cc6273

Combat Stats 4.2.0 — Enemy Names & Kill Credit Controls

Keep enemy identities hidden

New Defeated enemy names setting:

  • Actor names — use the original Actor names.
  • Token names — use the names assigned to individual tokens.
  • Hidden — omit the defeated enemies list.

This setting applies to chat summaries, charts, and Excel exports. You can also override it for individual combats.

In Token names and Hidden modes, aggregated enemy statistics are visible only to the GM, since those statistics use Actor names.

Assign, reassign, or remove kill credit

Did an enemy survive with 2 HP, but you decided the player's attack was enough? You can now award the kill manually.

Select the enemy token, open the Combat Stats scene controls, and choose Correct Kill Credit (Selected Enemy). From there, you can:

  • Assign a kill to a character.
  • Reassign an existing kill to another character.
  • Remove the kill credit.

These corrections update the kill count and defeated enemies list without changing HP or damage statistics. Corrections apply to individual tokens, including targets hit by an area attack.

Optional Script macro sources are included in the macros folder.

Enemies that get back up

The new Undo kills when enemies regain HP setting removes an enemy token's current kill credit when it returns above zero HP during combat. This allows the character who delivers the final blow to receive credit.

Enabled by default. Disable it if you want an enemy's later resurrection to preserve the original kill credit.

Tracking improvements

  • Kill records now retain the actual token UUID and token name.
  • Separate enemy tokens sharing the same base Actor are tracked independently.
  • Improved per-target handling in MidiQOL manual mode.
  • Native NPC kill detection now requires a transition from positive HP to zero.

Updating

Reload Foundry and start a new combat after updating.

Existing chat messages and historical kill totals are unchanged. Older records without saved token names display Unknown enemy in Token names mode.

Validation

All 15 automated regression tests and JavaScript syntax checks passed. Live testing in Foundry with MidiQOL remains pending.