Skip to content

Commit

Permalink
fix creature sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
kvndrsslr committed Nov 1, 2022
1 parent 6838bab commit 057ce29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/actor/sheet/creature-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 057ce29

Please sign in to comment.