1. All apps
  2. Realm Initiative
  3. FRG-22
0

When the DM reduces max HP the current HP should reduce

FRG-22 Realm Initiative Bug Fixed

What happened

During combat the DM reduced max HP without reducing current HP and it wouldn't save because current HP cannot be more than max HP.

What was expected

Fix it so that if max HP is reduced, current HP is reduced with it if it is higher.

  1. DragonAdmin filed this2 weeks ago
  2. DragonAdmin changed the status Open to Planned2 weeks ago
  3. DragonAdminMaintainerfiled this

    Also maybe add temporary minus on max HP.

  4. DragonAdmin changed the status Planned to In progress2 weeks ago
  5. DragonAdminMaintainerfiled this

    The tracker's own Max HP box (under "Conditions and HP") already pulls current HP down with it (`setStats`). The refusal comes from the character sheet (`readSheet` in `src/characters.js`, and `readFollower` for companions): it rejects current HP above max. Fix: when max HP is lowered and current is above it, current comes down to the new max; a current HP typed higher than an unchanged max is still refused.

  6. DragonAdmin changed the status In progress to Fixed2 weeks ago