foundryvtt-wh4-lang-fr-fr/scripts/ljGX2w8hCTyLAjRp.js

2 lines
171 B
JavaScript
Raw Normal View History

2024-06-06 22:07:28 +02:00
let specification = Number(this.item.specification.value) || 1;
args.actor.system.details.price.gc -= Math.floor(args.actor.system.details.price.gc * 0.1 * specification);