From 82139eb634305637f15110aca351eeead084e32e Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 7 Jan 2025 17:15:45 +0100 Subject: [PATCH] Fix BP computation #3 --- module/models/protagonist.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/models/protagonist.mjs b/module/models/protagonist.mjs index c4242a1..a420825 100644 --- a/module/models/protagonist.mjs +++ b/module/models/protagonist.mjs @@ -90,7 +90,7 @@ export default class CthulhuEternalProtagonist extends foundry.abstract.TypeData let unnatural = this.parent.items.find(i => i.type === "skill" && i.name.toLowerCase() === game.i18n.localize("CTHULHUETERNAL.Skill.Unnatural").toLowerCase()) let minus = 0 if (unnatural) { - minus = unnatural.data.skillTotal + minus = unnatural.system.skillTotal } let maxSan = Math.max(99 - minus, 0) if ( this.san.max !== maxSan) {