All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.

37 lines
1.1 KiB

1 year ago
  1. <form>
  2. {{#if isCharacter}}
  3. <div class="hp-field form-group">
  4. <input type="number" name="hp.max" value="{{source.max}}"
  5. placeholder="{{hp.max}}" data-tooltip="DND5E.HitPointsOverride">
  6. </div>
  7. <div class="form-group">
  8. <label>{{localize "DND5E.HitPointsBonusLevel"}}</label>
  9. <input type="text" name="hp.bonuses.level" value="{{hp.bonuses.level}}">
  10. </div>
  11. <div class="form-group">
  12. <label>{{localize "DND5E.HitPointsBonusOverall"}}</label>
  13. <input type="text" name="hp.bonuses.overall" value="{{hp.bonuses.overall}}">
  14. </div>
  15. {{else}}
  16. <div class="hp-field form-group">
  17. <input type="number" name="hp.max" value="{{hp.max}}" data-tooltip="DND5E.HitPointsMax">
  18. </div>
  19. <div class="form-group">
  20. <label>{{localize "DND5E.HPFormula"}}</label>
  21. <div class="form-fields">
  22. <input type="text" name="hp.formula" value="{{hp.formula}}">
  23. <button class="roll-hit-points"><i class="fas fa-dice"></i> {{localize "DND5E.Roll"}}</button>
  24. </div>
  25. </div>
  26. {{/if}}
  27. <button type="submit">
  28. <i class="far fa-save"></i> {{localize "Save"}}
  29. </button>
  30. </form>