diff --git a/modules/pegasus-item.js b/modules/pegasus-item.js index cdd8042..06906ce 100644 --- a/modules/pegasus-item.js +++ b/modules/pegasus-item.js @@ -8,6 +8,8 @@ export const defaultItemImg = { weapon: "systems/fvtt-pegasus-rpg/images/icons/icon_weapon.webp", equipment: "systems/fvtt-pegasus-rpg/images/icons/icon_equipment.webp", effect: "systems/fvtt-pegasus-rpg/images/icons/icon_effect.webp", + race: "systems/fvtt-pegasus-rpg/images/icons/icon_race.webp", + power: "systems/fvtt-pegasus-rpg/images/icons/icon_power.webp", } /** diff --git a/system.json b/system.json index 76dca2d..6f7f8e9 100644 --- a/system.json +++ b/system.json @@ -92,6 +92,16 @@ "tags": [ "perk" ] + }, + { + "entity": "Item", + "label": "Effects", + "name": "effect", + "path": "./packs/effect.db", + "system": "fvtt-pegasus-rpg", + "tags": [ + "effect" + ] } ], "primaryTokenAttribute": "endurance.endurance", @@ -100,9 +110,9 @@ "styles": [ "styles/simple.css" ], - "templateVersion": 52, + "templateVersion": 54, "title": "Pegasus RPG", "url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg", - "version": "0.0.52", + "version": "0.0.54", "background" : "./images/ui/pegasus_welcome_page.webp" } \ No newline at end of file diff --git a/template.json b/template.json index 348c09d..519af9a 100644 --- a/template.json +++ b/template.json @@ -179,6 +179,7 @@ "type": "", "genre": "", "effectlevel": 0, + "reducedicevalue": false, "stataffected": "", "specaffected": [], "statdice": false, @@ -187,6 +188,7 @@ "hindrance" : false, "resistedby": "", "recoveryroll": false, + "recoveryrollstat": "", "recoveryrollspec": [], "description": "" }, diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 67734b3..8592010 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -233,6 +233,7 @@ {{upperFirst effect.data.type}} {{upperFirst effect.data.genre}} Lvl:{{effect.data.effectlevel}} + {{upper effect.data.stataffected}}