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.3 KiB

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