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.

60 lines
1.8 KiB

1 year ago
  1. <form id="ability-use-form">
  2. <p>{{title}}</p>
  3. <p class="notes">{{note}}</p>
  4. {{#each errors}}
  5. <p class="notification error">{{this}}</p>
  6. {{/each}}
  7. {{#if consumeSpellSlot}}
  8. <div class="form-group">
  9. <label>{{ localize "DND5E.SpellCastUpcast" }}</label>
  10. <div class="form-fields">
  11. <select name="consumeSpellLevel">
  12. {{#select item.system.level}}
  13. {{#each spellLevels as |l|}}
  14. <option value="{{l.level}}" {{disabled (not l.canCast)}}>{{l.label}}</option>
  15. {{/each}}
  16. {{/select}}
  17. </select>
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="checkbox">
  22. <input type="checkbox" name="consumeSpellSlot" checked>{{localize "DND5E.SpellCastConsume"}}
  23. </label>
  24. </div>
  25. {{/if}}
  26. {{#if consumeUses}}
  27. <div class="form-group">
  28. <label class="checkbox">
  29. <input type="checkbox" name="consumeUsage" checked>{{localize "DND5E.AbilityUseConsume"}}
  30. </label>
  31. </div>
  32. {{/if}}
  33. {{#if consumeResource}}
  34. <div class="form-group">
  35. <label class="checkbox">
  36. <input type="checkbox" name="consumeResource" checked>{{localize "DND5E.ConsumeResource"}}
  37. </label>
  38. </div>
  39. {{/if}}
  40. {{#if consumeRecharge}}
  41. <div class="form-group">
  42. <label class="checkbox">
  43. <input type="checkbox" name="consumeRecharge" checked>{{localize "DND5E.ConsumeRecharge"}}
  44. </label>
  45. </div>
  46. {{/if}}
  47. {{#if createTemplate}}
  48. <div class="form-group">
  49. <label class="checkbox">
  50. <input type="checkbox" name="createMeasuredTemplate" checked>{{localize "DND5E.PlaceTemplate"}}
  51. </label>
  52. </div>
  53. {{/if}}
  54. </form>