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.

44 lines
2.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <li class="item attack flexrow" data-action-index="{{index}}" data-item-type="melee" data-strike="" data-item-id="{{action.sourceId}}">
  2. <h4 class="attack-name item-name tags">
  3. {{#if action.description}}
  4. <a data-action="toggle-summary">
  5. <strong>{{localize action.attackRollType}}</strong>
  6. <span class="action-glyph">{{action.glyph}}</span>
  7. {{action.label}}
  8. </a>
  9. {{else}}
  10. <span>
  11. <strong>{{localize action.attackRollType}}</strong>
  12. <span class="action-glyph">{{action.glyph}}</span>
  13. {{action.label}}
  14. </span>
  15. {{/if}}
  16. {{#each action.traits as |trait|}}
  17. <div class="tag tag_transparent" title="{{localize trait.description}}">{{localize trait.label}}</div>
  18. {{/each}}
  19. {{#each action.additionalEffects as |effect|}}
  20. <div class="tag tag_transparent" data-tag="{{effect.tag}}">{{localize effect.label}}</div>
  21. {{/each}}
  22. </h4>
  23. <div class="controls">
  24. {{#if isEditable}}
  25. <a class="item-edit edit" title="{{localize "PF2E.NPC.Edit"}}"><i class="fa-solid fa-fw fa-edit"></i></a>
  26. <a class="item-delete delete" title="{{localize "PF2E.NPC.Remove"}}"><i class="fa-solid fa-fw fa-trash"></i></a>
  27. {{/if}}
  28. </div>
  29. <div class="button-group">
  30. <div class="attacks sub-section">
  31. {{#each action.variants as |variant index|}}
  32. <button type="button" class="attack-button" {{#if (eq index 0)}}title="{{action.breakdown}}"{{/if}} data-action="strike-attack" data-variant-index="{{index}}">{{variant.label}}</button>
  33. {{/each}}
  34. </div>
  35. {{#if action.item.dealsDamage}}
  36. <div class="damage sub-section">
  37. <button type="button" class="damage-button" data-action="strike-damage">{{action.damageFormula}}</button>
  38. <button type="button" class="critical-button" data-action="strike-critical">{{localize "PF2E.CriticalDamageLabel"}}</button>
  39. </div>
  40. {{/if}}
  41. </div>
  42. </li>