From 057ce29947bcb2954f49b1151a7e99c6e99042d4 Mon Sep 17 00:00:00 2001 From: kvndrsslr Date: Tue, 1 Nov 2022 11:05:20 +0100 Subject: [PATCH] fix creature sheet --- src/module/actor/sheet/creature-sheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/actor/sheet/creature-sheet.js b/src/module/actor/sheet/creature-sheet.js index b45942f5..0efee291 100644 --- a/src/module/actor/sheet/creature-sheet.js +++ b/src/module/actor/sheet/creature-sheet.js @@ -131,7 +131,7 @@ export default class ZweihanderCreatureSheet extends ZweihanderBaseActorSheet { sheetData.weapons = sheetData.weapons.map((w) => { const skill = sheetData.skills.find((s) => s.name === w.system.associatedSkill); const baseChance = - system.stats.primaryAttributes[ + sheetData.system.stats.primaryAttributes[ skill.system.associatedPrimaryAttribute.toLowerCase() ].value; w.chance = baseChance + skill.system.bonus;