diff --git a/module/item/entity.js b/module/item/entity.js index 11ffc620..5965dfe8 100644 --- a/module/item/entity.js +++ b/module/item/entity.js @@ -598,7 +598,7 @@ export default class Item5e extends Item { const level = this.actor?.data.data.powers[consumePowerLevel]; const fp = this.actor.data.data.attributes.force.points; const tp = this.actor.data.data.attributes.tech.points; - const powerCost = id.level + 1; + const powerCost = parseInt(id.level,10) + 1; const innatePower = this.actor.data.data.attributes.powercasting === 'innate'; if (!innatePower){ switch (id.school){