diff --git a/src/module/item/entity.js b/src/module/item/entity.js index 0ec4657..b2b59f3 100644 --- a/src/module/item/entity.js +++ b/src/module/item/entity.js @@ -89,14 +89,14 @@ export class OseItem extends Item { icon: '', label: "Melee", callback: () => { - this.targetAttack(rollData, "melee", options); + this.actor.targetAttack(rollData, "melee", options); }, }, missile: { icon: '', label: "Missile", callback: () => { - this.targetAttack(rollData, "missile", options); + this.actor.targetAttack(rollData, "missile", options); }, }, }, @@ -106,7 +106,7 @@ export class OseItem extends Item { } else if (data.missile && !isNPC) { type = "missile"; } - this.targetAttack(rollData, type, options); + this.actor.targetAttack(rollData, type, options); return true; }