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.

101 lines
4.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <section class="dice-roll damage-roll" data-tooltip-class="pf2e">
  2. {{#if flavor}}<div class="dice-flavor">{{flavor}}</div>{{/if}}
  3. <div class="dice-result">
  4. <div class="dice-formula">{{{formula}}}</div>
  5. {{{tooltip}}}
  6. {{#unless (and allPersistent (not persistentEvaluated))}}
  7. <h4 class="dice-total">
  8. <span class="total"{{#if (isNumber increasedFrom)}} data-tooltip="{{localize "PF2E.Damage.IncreasedFrom" original=increasedFrom}}" data-tooltip-direction="LEFT"{{/if}}>{{total}}
  9. {{~#if (isNumber increasedFrom) ~}}
  10. <span class="increased-from">*</span>
  11. {{~/if~}}
  12. </span>
  13. {{#if (gt instances.length 1)}}
  14. <div class="instances">
  15. (
  16. {{~#each instances as |instance|~}}
  17. <span class="damage instance color {{instance.type}}" data-tooltip="{{instance.typeLabel}}">
  18. {{~#if instance.persistent}}{{coalesce instance.head.term.expression instance.head.expression}}{{else}}{{instance.total}}{{/if}}
  19. {{#if (and instance.persistent (ne instance.type "bleed"))}}<i class="fa-duotone fa-hourglass"></i>{{/if~}}
  20. <i class="fa-solid fa-{{instance.iconClass}}"></i>
  21. </span>
  22. {{~#unless @last}} + {{/unless~}}
  23. {{~/each~}}
  24. )
  25. </div>
  26. {{/if}}
  27. </h4>
  28. {{/unless}}
  29. </div>
  30. </section>
  31. <section class="damage-application">
  32. {{#if healingOnly}}
  33. <button
  34. type="button"
  35. class="healing-only"
  36. data-action="apply-healing"
  37. title="{{localize "PF2E.DamageButton.Healing"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}"
  38. >
  39. <span class="fa-stack fa-fw">
  40. <i class="fa-solid fa-heart fa-stack-2x"></i>
  41. <i class="fa-solid fa-plus fa-inverse fa-stack-1x"></i>
  42. </span>
  43. <span class="label">{{localize "PF2E.Damage.Kind.Healing.Apply.Label"}}</span>
  44. </button>
  45. {{else}}
  46. <button type="button" data-action="apply-damage" title="{{localize "PF2E.DamageButton.Full"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  47. <i class="fa-solid fa-heart-broken fa-fw"></i>
  48. <span class="label">{{#if splashOnly}}{{localize "PF2E.TraitSplash"}}{{else}}{{localize "PF2E.DamageButton.FullShort"}}{{/if}}</span>
  49. </button>
  50. <button
  51. type="button" class="half-damage"
  52. data-action="half-damage"
  53. title="{{localize "PF2E.DamageButton.Half"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}"
  54. >
  55. <i class="fa-solid fa-heart-broken fa-fw"></i>
  56. <span class="label">{{localize "PF2E.DamageButton.HalfShort"}}</span>
  57. </button>
  58. <button type="button" data-action="double-damage" title="{{localize "PF2E.DamageButton.Double"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  59. <img src="systems/pf2e/icons/damage/double.svg" />
  60. <span class="label">{{localize "PF2E.DamageButton.DoubleShort"}}</span>
  61. </button>
  62. {{#if showTripleDamage}}
  63. <button
  64. type="button"
  65. data-action="triple-damage"
  66. title="{{localize "PF2E.DamageButton.Triple"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}"
  67. >
  68. <img src="systems/pf2e/icons/damage/triple.svg" />
  69. <span class="label">{{localize "PF2E.DamageButton.TripleShort"}}</span>
  70. </button>
  71. {{/if}}
  72. {{#unless (or allPersistent splashOnly)}}
  73. <button type="button" data-action="shield-block" class="dice-total-shield-btn" title="{{localize "PF2E.DamageButton.ShieldBlock"}}">
  74. <i class="fa-solid fa-shield-alt fa-fw"></i>
  75. <span class="label">{{localize "PF2E.DamageButton.ShieldBlockShort"}}</span>
  76. </button>
  77. {{/unless}}
  78. {{#unless damageOnly}}
  79. <button
  80. type="button"
  81. class="apply-healing"
  82. data-action="apply-healing"
  83. title="{{localize "PF2E.DamageButton.Healing"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}"
  84. >
  85. <span class="fa-stack fa-fw">
  86. <i class="fa-solid fa-heart fa-stack-2x"></i>
  87. <i class="fa-solid fa-plus fa-inverse fa-stack-1x"></i>
  88. </span>
  89. <span class="label">{{localize "PF2E.DamageButton.HealingShort"}}</span>
  90. </button>
  91. {{/unless}}
  92. {{/if}}
  93. </section>
  94. <div class="hover-content select-shield">
  95. <div class="sidebar_title">
  96. <h2>{{localize "PF2E.Actions.ShieldBlock.SelectAShield"}}</h2>
  97. </div>
  98. <ul class="shield-options"></ul>
  99. </div>