From f3f838d2872cdedd27f848b8c35a3f35a2efc110 Mon Sep 17 00:00:00 2001 From: U~man Date: Wed, 8 Jul 2020 21:52:03 +0200 Subject: [PATCH] FIX: fixed weapon damage --- src/module/actor/entity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/actor/entity.js b/src/module/actor/entity.js index 4d8f960..bdfc364 100644 --- a/src/module/actor/entity.js +++ b/src/module/actor/entity.js @@ -244,7 +244,7 @@ export class OseActor extends Actor { const rollParts = ["1d20"]; const dmgParts = []; - if ((!attData.dmg || !game.settings.get("ose", "variableWeaponDamage")) && this.type == "character") { + if ((!attData.dmg || !game.settings.get("ose", "variableWeaponDamage")) && this.data.type == "character") { dmgParts.push("1d6"); } else { dmgParts.push(attData.dmg);