All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
932 B

1 year ago
  1. <form id="{{appId}}" data-level="{{level}}" data-id="{{advancement.id}}" data-type="{{type}}">
  2. <h3>{{{title}}}</h3>
  3. {{#if isFirstClassLevel}}
  4. <div>
  5. {{{localize "DND5E.AdvancementHitPointsMaxAtFirstLevel" max=dieValue}}}
  6. <input type="hidden" name="useMax" value="true" data-dtype="Boolean">
  7. </div>
  8. {{else}}
  9. <div class="rolls">
  10. <label class="averageLabel">
  11. <span>{{localize "DND5E.AdvancementHitPointsAverage"}}</span>
  12. <input class="averageCheckbox" type="checkbox" name="useAverage" {{checked data.useAverage}}>
  13. </label>
  14. <input class="rollResult" type="number" name="value" value="{{data.value}}" {{disabled data.useAverage}}>
  15. <button class="rollButton" type="button" name="roll" {{disabled data.useAverage}}>
  16. <i class="fas fa-dice-d20"></i> {{localize "DND5E.AdvancementHitPointsRollButton" die=hitDie}}
  17. </button>
  18. </div>
  19. {{/if}}
  20. </form>