forked from GitHub-Mirrors/foundry-sw5e
Update entity.js
for better rolls compatibility
This commit is contained in:
parent
d21898a8da
commit
9f1e3c213c
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue