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.

70 lines
3.8 KiB

1 year ago
1 year ago
  1. <section class="dice-roll damage-roll">
  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 allPersistent}}
  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}}" title="{{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 icon"></i>{{/if~}}
  20. <i class="fa-solid fa-{{instance.iconClass}} icon"></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. <button type="button" class="full-damage" title="{{localize "PF2E.DamageButton.Full"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  33. <i class="fa-solid fa-heart-broken fa-fw"></i>
  34. <span class="label">{{#if splashOnly}}{{localize "PF2E.TraitSplash"}}{{else}}{{localize "PF2E.DamageButton.FullShort"}}{{/if}}</span>
  35. </button>
  36. <button type="button" class="half-damage" title="{{localize "PF2E.DamageButton.Half"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  37. <i class="fa-solid fa-heart-broken fa-fw"></i>
  38. <span class="transparent-half"></span>
  39. <span class="label">{{localize "PF2E.DamageButton.HalfShort"}}</span>
  40. </button>
  41. <button type="button" class="double-damage" title="{{localize "PF2E.DamageButton.Double"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  42. <img src="systems/pf2e/icons/damage/double.svg" />
  43. <span class="label">{{localize "PF2E.DamageButton.DoubleShort"}}</span>
  44. </button>
  45. {{#if showTripleDamage}}
  46. <button type="button" class="triple-damage" title="{{localize "PF2E.DamageButton.Triple"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  47. <img src="systems/pf2e/icons/damage/triple.svg" />
  48. <span class="label">{{localize "PF2E.DamageButton.TripleShort"}}</span>
  49. </button>
  50. {{/if}}
  51. <button type="button" class="shield-block dice-total-shield-btn" title="{{localize "PF2E.DamageButton.ShieldBlock"}}">
  52. <i class="fa-solid fa-shield-alt fa-fw"></i>
  53. <span class="label">{{localize "PF2E.DamageButton.ShieldBlockShort"}}</span>
  54. </button>
  55. <button type="button" class="heal-damage" title="{{localize "PF2E.DamageButton.Healing"}}&#013;{{localize "PF2E.DamageButton.Adjust"}}">
  56. <span class="fa-stack fa-fw">
  57. <i class="fa-solid fa-heart fa-stack-2x"></i>
  58. <i class="fa-solid fa-plus fa-inverse fa-stack-1x"></i>
  59. </span>
  60. <span class="label">{{localize "PF2E.DamageButton.HealingShort"}}</span>
  61. </button>
  62. </section>
  63. <div class="hover-content select-shield">
  64. <div class="sidebar_title">
  65. <h2>{{localize "PF2E.Actions.ShieldBlock.SelectAShield"}}</h2>
  66. </div>
  67. <ul class="shield-options"></ul>
  68. </div>