diff --git a/module/actor/actor.js b/module/actor/actor.js index ad13c7d..629436e 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -41,12 +41,13 @@ export class DeltaGreenActor extends Actor { if(key === 'unnatural'){ skill.cannotBeImprovedByFailure = true; } + else if(key==='luck'){ + skill.cannotBeImprovedByFailure = true; + } else{ skill.cannotBeImprovedByFailure = false; } } - - console.log(actorData); actorData.data.wp.max = actorData.data.statistics.pow.value; actorData.data.health.max = Math.ceil((actorData.data.statistics.con.value + actorData.data.statistics.str.value) / 2); @@ -76,5 +77,7 @@ export class DeltaGreenActor extends Actor { else{ actorData.data.sanity.adaptations.helplessness.isAdapted = false; } + + console.log(actorData); } } \ No newline at end of file diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index 804cb2e..9708a79 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -139,10 +139,12 @@ - - + + -