alienrpg
alienrpg copied to clipboard
Is it possible to roll the Power Supply automatically when you use a weapon with a Power Supply Rating?
Suggested by Lukey84
It can be done by adding if (item.data.attributes.power.value >0) { const ilabel = game.i18n.localize('ALIENRPG.Power') + ' ' + game.i18n.localize('ALIENRPG.Supply'); const consUme = 'power'; this.actor.consumablesCheck(this.actor, consUme, ilabel, item._id); } to the item roll function but it breaks the Push code so will have to look into alternatives. Additionally as the weapon template done not have an indicator to say the weapon is powered it's not possible to stop the player from rolling when the power is zero.
Will park for now and consider other options.