Closed szefo09 closed 1 year ago
https://github.com/sdenec/tidy5e-sheet/blob/a4ac1e6a492bb044cb8a2a9b70c27cf993d48320/src/templates/actors/tidy5e-sheet.html#L134-L138
Should be updated to:
<div class="portrait-temp"> <input name="system.attributes.hp.temp" type="text" class="temphp" placeholder="+{{ localize 'DND5E.Temp' }}" value="{{#if (eq hp.temp 0)}}{{else}}{{hp.temp}}{{/if}}" title="{{localize 'DND5E.HitPointsTemp'}}" data-dtype="Number" maxlength="5"> <input name="system.attributes.hp.tempmax" type="text" class="max-temphp" placeholder="+{{ localize 'DND5E.Max' }}" value="{{#if (eq hp.tempmax 0)}}{{else}}{{hp.tempmax}}{{/if}}" title="{{localize 'DND5E.HitPointsTempMax'}}" data-dtype="Number" maxlength="5">
For temp HP to work with Lazy calculation. Possibly other templates require updating too(?) @p4535992
There are definitely other parts of the sheet to be updated . In the meantime, I have updated this
https://github.com/sdenec/tidy5e-sheet/blob/a4ac1e6a492bb044cb8a2a9b70c27cf993d48320/src/templates/actors/tidy5e-sheet.html#L134-L138
Should be updated to:
For temp HP to work with Lazy calculation. Possibly other templates require updating too(?) @p4535992