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.

92 lines
5.4 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="tab proficiencies" data-group="primary" data-tab="proficiencies">
  2. <h3 class="header">{{localize "PF2E.CoreSkillsHeader"}}</h3>
  3. <ol class="overflow-list proficiencies-pane stroke-header">
  4. <ol class="skills-list">
  5. <!-- Core Skills -->
  6. {{#each data.skills as |skill key|}}
  7. {{#unless skill.lore}}
  8. <li class="skill" data-skill="{{skill.slug}}">
  9. <a class="skill-name rollable" title="{{skill.breakdown}}">
  10. <span class="skill-score">{{numberFormat skill.value decimals=0 sign=true}}</span>
  11. <h4>{{localize skill.label}}</h4>
  12. </a>
  13. <div class="skill-prof button-group">
  14. <select class="skill-proficiency pf-rank adjust-stat-select" data-property="system.skills.{{key}}.rank" data-rank="{{skill.rank}}" data-dtype="Number">
  15. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=skill.rank}}
  16. </select>
  17. <div class="hover-container">
  18. <h6 class="hover" data-tooltip-content="#{{@root.options.id}}-{{skill.slug}}-modifiers">{{localize "PF2E.ModifiersTitle"}}</h6>
  19. </div>
  20. </div>
  21. {{#with skill}}
  22. {{> "systems/pf2e/templates/actors/partials/modifiers-tooltip.hbs" abpEnabled=@root.abpEnabled title=label}}
  23. {{/with}}
  24. </li>
  25. {{/unless}}
  26. {{/each}}
  27. </ol>
  28. <!-- Lore Header -->
  29. <h3 class="header">
  30. {{localize "PF2E.LoreSkillsHeader"}}
  31. <div class="controls">
  32. <button type="button" class="item-control item-create" title="{{localize "PF2E.CreateSkillTitle"}}" data-type="lore">
  33. <i class="fas fa-fw fa-plus"></i>{{localize "PF2E.AddShortLabel"}}
  34. </button>
  35. </div>
  36. </h3>
  37. <ol class="lores-list">
  38. <!-- Lore Skills -->
  39. {{#each data.skills as |skill idx|}}
  40. {{#if skill.lore}}
  41. <li class="skill item" data-skill="{{skill.slug}}" data-item-id="{{skill.itemID}}" data-item-type="lore">
  42. <a class="skill-score rollable" title="{{skill.breakdown}}">{{numberFormat skill.value decimals=0 sign=true}}</a>
  43. <div class="skill-name lore-name-input item-name-input">
  44. <input data-item-id="{{skill.itemID}}" data-item-property="name" type="text" value="{{skill.label}}" />
  45. </div>
  46. <div class="skill-prof button-group skill-container">
  47. <select class="skill-proficiency pf-rank adjust-item-stat-select" data-item-property="system.proficient.value" title="{{skill.breakdown}}" data-rank="{{skill.rank}}" data-dtype="Number">
  48. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=skill.rank}}
  49. </select>
  50. {{#if ../editable}}
  51. <div class="item-controls">
  52. <a class="item-control item-delete skill-armor" title="{{localize "PF2E.DeleteItemTitle"}}"><i class="fas fa-fw fa-trash"></i></a>
  53. </div>
  54. {{/if}}
  55. </div>
  56. </li>
  57. {{/if}}
  58. {{/each}}
  59. </ol>
  60. <!-- Combat Proficiencies Header -->
  61. <h3 class="header attacks-defenses">
  62. {{localize "PF2E.MartialSkillsHeader"}}
  63. {{#if editable}}
  64. <div class="controls">
  65. <button type="button" class="item-control" data-action="add-attack-proficiency" title="{{localize "PF2E.AddCombatProficiency.Title"}}">
  66. <i class="fas fa-fw fa-plus"></i>{{localize "PF2E.AddShortLabel"}}
  67. </button>
  68. </div>
  69. {{/if}}
  70. </h3>
  71. <ol class="combat-list">
  72. <!-- Combat Proficiencies -->
  73. {{#each data.martial as |proficiency key|}}
  74. <li class="skill{{#if proficiency.custom}} custom{{/if}}" data-skill="{{key}}">
  75. {{#if (and proficiency.custom @root.editable)}}
  76. <a class="delete" data-action="remove-attack-proficiency"><i class="fa fa-fw fa-trash"></i></a>
  77. {{/if}}
  78. <span class="skill-score lore-score" title="{{proficiency.breakdown}}">{{numberFormat proficiency.value decimals=0 sign=true}}</span>
  79. <h4 class="skill-name lore-name-input">{{proficiency.label}}</h4>
  80. <div class="skill-prof button-group skill-container">
  81. <select class="skill-proficiency pf-rank adjust-stat-select{{#if proficiency.immutable}} readonly{{/if}}" data-property="system.martial.{{key}}.rank" data-rank="{{proficiency.rank}}" data-dtype="Number">
  82. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=proficiency.rank}}
  83. </select>
  84. </div>
  85. </li>
  86. {{/each}}
  87. </ol>
  88. </ol>
  89. </div>