diff --git a/module/actor/actor.js b/module/actor/actor.js index 87aead3..bfcf8d2 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -372,6 +372,11 @@ export class MothershipActor extends Actor { const diceData = this.formatDice(r); let mod = 0; + if(item.type == "skill"){ + mod += item.system.bonus; + } + + if (attribute.mod > 0) mod += attribute.mod; console.log("Bonus: " + mod); let targetValue = attribute.value + mod + (item == "" ? 0 : parseInt(bonus)); diff --git a/system.json b/system.json index f73c277..901c6de 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "mosh", "title": "MoSh - Unofficial Mothership", "description": "The unofficial Mothership system for FoundryVTT.", - "version": "0.3.1", + "version": "0.3.2", "esmodules": [ "module/mosh.js" ],