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.

81 lines
3.7 KiB

  1. <li class="strike item ready"
  2. data-element="{{action.element}}"
  3. data-damage-type={{action.damageType}}
  4. data-item-id="{{action.item.id}}"
  5. data-item-type="{{action.item.type}}"
  6. >
  7. <div class="item-name rollable" data-tooltip-class="pf2e" data-tooltip-direction="UP">
  8. <div class="item-image strike framed">
  9. <img src="{{action.img}}" /> <i class="fa-solid fa-message"></i>
  10. </div>
  11. <div class="actions-title">
  12. {{#unless omitName}}
  13. <div class="action-name">
  14. <h4 class="name"><a data-action="toggle-summary">{{localize action.label}}</a></h4>
  15. <div class="item-controls">
  16. {{#if (and @root.editable (eq @index 0))}}
  17. <a class="item-control item-edit" data-tooltip="PF2E.EditItemTitle"><i class="fa-solid fa-fw fa-edit"></i></a>
  18. {{/if}}
  19. </div>
  20. </div>
  21. {{/unless}}
  22. {{#> attackDamage action=action melee=true}}{{/attackDamage}}
  23. </div>
  24. </div>
  25. <div class="alt-usage" data-tooltip-class="pf2e" data-tooltip-direction="UP">
  26. <i class="fa-regular fa-meteor fa-rotate-180 alt-usage-icon" data-tooltip="{{action.range.label}}"></i>
  27. {{#> attackDamage action=action melee=false}}{{/attackDamage}}
  28. </div>
  29. <div class="item-summary" hidden="hidden"></div>
  30. </li>
  31. {{#*inline "attackDamage"}}
  32. <div class="button-group tags">
  33. <button type="button" class="tag tag_secondary" data-action="roll-attack" data-melee="{{melee}}">
  34. {{localize "PF2E.SpecificRule.Kineticist.Impulse.ElementalBlast.ShortLabel"}}
  35. <span class="action-glyph">{{action.actionCost}}</span>
  36. {{numberFormat action.statistic.check.mod sign=true}}
  37. </button>
  38. <button type="button" class="tag tag_secondary" data-action="roll-attack" data-melee="{{melee}}" data-map-increases="1">
  39. {{#if melee}}{{action.maps.melee.map1}}{{else}}{{action.maps.ranged.map1}}{{/if}}
  40. </button>
  41. <button type="button" class="tag tag_secondary" data-action="roll-attack" data-melee="{{melee}}" data-map-increases="2">
  42. {{#if melee}}{{action.maps.melee.map2}}{{else}}{{action.maps.ranged.map2}}{{/if}}
  43. </button>
  44. <button type="button" class="tag damage"
  45. data-action="roll-damage"
  46. data-melee="{{melee}}"
  47. data-outcome="success"
  48. data-tooltip="{{#if melee}}{{action.formula.melee.damage}}{{else}}{{action.formula.ranged.damage}}{{/if}}"
  49. >
  50. {{localize "PF2E.DamageLabel"}}
  51. </button>
  52. <button type="button" class="tag damage"
  53. data-action="roll-damage"
  54. data-melee="{{melee}}"
  55. data-outcome="critical-success"
  56. data-tooltip="{{#if melee}}{{action.formula.melee.critical}}{{else}}{{action.formula.ranged.critical}}{{/if}}"
  57. >
  58. {{localize "PF2E.CriticalDamageLabel"}}
  59. </button>
  60. {{#if (and melee (not (eq action.damageTypes.length 1)))}}
  61. <div class="versatile-options damage color">
  62. {{#each action.damageTypes as |damageType|}}
  63. <button
  64. type="button"
  65. class="damage color {{damageType.value}}{{#if damageType.selected}} selected{{/if}}"
  66. value="{{damageType.value}}"
  67. {{disabled damageType.selected}}
  68. data-tooltip="{{damageType.label}}"
  69. data-action="set-damage-type"
  70. >
  71. <i class="fa-solid fa-fw fa-{{damageType.icon}}"></i>
  72. </button>
  73. {{/each}}
  74. </div>
  75. {{/if}}
  76. </div>
  77. {{/inline}}