Larkinabout / fvtt-custom-dnd5e

10 stars 7 forks source link

[BUG] Temporary HP heals if damage is to small #92

Closed maxobremer closed 1 week ago

maxobremer commented 1 week ago

Describe the bug When a creature has temporary hit points and they take damage equal to an amount less then they have temp hp, the creature is healed for the difference in temp hp and damage taken. image 6hp and 7 temp hp before damage taken

image 9hp and 3 temp hp after taking 4 slashing damage

Module Data Temp HP Bug debug settings custom-dnd5e.json

Steps to reproduce

  1. Have only this module and its requirements enabled
  2. give a creature a large number of temp hp and give it less then its maximum hit points
  3. roll for damage in chat
  4. right click the damage roll and click apply OR use the dnd5e damage application tray
  5. check the current hit points

Versions:

Additional context Nice module so far, love the radial status effect option among other things.

Larkinabout commented 1 week ago

Fixed in 0.15.0.