schlosrat / token-health

FoundryVTT module
5 stars 10 forks source link

Not working with TempMax on D&D 5e #48

Closed DarKDinDoN closed 2 years ago

DarKDinDoN commented 3 years ago

Hello,

Restoring health is not working correctly when the character has maxtemp > 0.

The real max hp of the character in such condition is: attributes.hp.max + attributes.hp.tempmax

image

As you can see on the screenshot:

ISSUE: you can not restore to full life a character when tempmax HP is declared on the sheet

DarKDinDoN commented 3 years ago

@schlosrat attempting to fix the issue with PR here: https://github.com/schlosrat/token-health/pull/49

Also add the numpad enter key.

Tested in FVTT 0.8.6 DnD 1.3.5