diff --git a/module/actor/actor.js b/module/actor/actor.js index a89b220..53bda5f 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -624,7 +624,7 @@ export class BoLActor extends Actor { /* -------------------------------------------- */ rollWeaponDamage(itemId) { - let weapon = duplicate(this.system.items.get(itemId)) + let weapon = duplicate(this.items.get(itemId)) if (weapon) { let r = new BoLDefaultRoll({ id: randomID(16), isSuccess: true, mode: "weapon", weapon: weapon, actorId: this.id, actor: this }) r.setSuccess(true) diff --git a/module/controllers/bol-rolls.js b/module/controllers/bol-rolls.js index 32fd720..3a24c76 100644 --- a/module/controllers/bol-rolls.js +++ b/module/controllers/bol-rolls.js @@ -574,7 +574,7 @@ export class BoLDefaultRoll { let actor = game.actors.get( (actorId) ? actorId: this.rollData.actorId) if (attrDamage.includes("vigor")) { - attrDamageValue = actor.data.data.attributes.vigor.value + attrDamageValue = actor.system.attributes.vigor.value if (attrDamage.includes("half")) { attrDamageValue = Math.floor(attrDamageValue / 2) } diff --git a/templates/item/parts/properties/item/alchemy-properties.hbs b/templates/item/parts/properties/item/alchemy-properties.hbs index 7eb5a43..ca974eb 100644 --- a/templates/item/parts/properties/item/alchemy-properties.hbs +++ b/templates/item/parts/properties/item/alchemy-properties.hbs @@ -2,8 +2,8 @@