Eranziel / foundryvtt-lancer

A Foundry VTT game system for LANCER RPG.
GNU General Public License v3.0
105 stars 63 forks source link

[BUG]When last structure check is rolled, HP is still reset to max #714

Closed Z3nner closed 2 months ago

Z3nner commented 3 months ago

Describe the bug When an actor loses their last structure their HP is reset to max.

To Reproduce Steps to reproduce the behavior:

  1. Set any token's structure to 1, and subtract its current HP to trigger a structure roll
  2. Note that the HP is still reset to max

Expected behavior On the last structure, the HP should be reset to zero after the structure check.