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.

82 lines
3.7 KiB

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