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
2.4 KiB

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