From 4065d46ffd9b3053beac77d525492059de21b108 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 29 Sep 2022 13:14:34 +0200 Subject: [PATCH] #Fix 78 : add role level --- template.json | 3 +- templates/item-role-sheet.html | 152 ++++++++++++++++++--------------- 2 files changed, 84 insertions(+), 71 deletions(-) diff --git a/template.json b/template.json index 958b713..9ad50fd 100644 --- a/template.json +++ b/template.json @@ -443,7 +443,8 @@ "specincrease": [], "perks": [], "perksrole": "", - "description": "" + "description": "", + "rolelevel": 0 }, "ability": { "affectedstat": "str", diff --git a/templates/item-role-sheet.html b/templates/item-role-sheet.html index ea518b5..c9d104c 100644 --- a/templates/item-role-sheet.html +++ b/templates/item-role-sheet.html @@ -1,80 +1,92 @@
-
- -
-

- -

-
-
- {{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}} +
+ +
+

+ +

+
+
+ {{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}} - {{!-- Sheet Body --}} -
+ {{!-- Sheet Body --}} +
- {{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}} + {{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}} -
-
    -
  • - -
  • -
  • - -
  • +
    +
      +
    • + +
    • -
    • - -
    • -
        -
      • -
      • - {{#each data.specialability as |ability idx|}} -
      • - -
        - -
        -
      • - {{/each}} -
      +
    • + +
    • +
    • + +
    • + +
    • + +
    • +
        +
      • +
      • -
      • -
      • -
          -
        • - {{#each data.statincreasechoice as |stat idx|}} - - - {{/each}} -
        • -
        - + {{#each data.specialability as |ability idx|}} +
      • + +
        + +
        +
      • + {{/each}} +
      + +
    • +
    • +
        +
      • + {{#each data.statincreasechoice as |stat idx|}} + + + {{/each}} +
      • +
      + -
    • - -
    • +
    • + +
    • -
    +
-
+ -
- +
+ \ No newline at end of file