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.

21 lines
1.2 KiB

1 year ago
  1. <ol class="ability-scores">
  2. {{#each data.abilities as |ability key|}}
  3. <li class="ability {{#if (eq ../data.details.keyability.value key)}}key{{/if}}" data-ability="{{key}}">
  4. <label for="{{@root.options.id}}-{{key}}-ability-score" class="details-label ability-name">{{localize ability.label}}</label>
  5. <h2 class="ability-id" title="{{localize "PF2E.AbilityTitle"}}">
  6. {{localize (concat "PF2E.AbilityId." key)}}
  7. {{#if (eq ../data.details.keyability.value key)}}<i class="fas fa-key"></i>{{/if}}
  8. </h2>
  9. <h3 class="ability-mod" title="{{localize "PF2E.ModifierTitle"}}">
  10. {{numberFormat ability.mod decimals=0 sign=true}}
  11. </h3>
  12. <div class="ability-score" title="{{localize "PF2E.ScoreTitle"}}">
  13. {{#if ../data.build.abilities.manual}}
  14. <input class="details-input" data-property="system.abilities.{{key}}.value" type="number" value="{{ability.value}}" placeholder="10" />
  15. {{else}}
  16. <div>{{ability.value}}</div>
  17. {{/if}}
  18. </div>
  19. </li>
  20. {{/each}}
  21. </ol>