foundryvtt-wh4-lang-fr-fr/reference_scripts/fFi9JD4uCY9DPC5B.js

4 lines
350 B
JavaScript
Raw Normal View History

2024-06-06 21:09:27 +02:00
let specification = Number(this.item.specification.value) || 1;
args.actor.system.characteristics.t.initial += 10 * specification;
args.actor.system.status.carries.max -= Math.floor(args.actor.system.status.carries.max * 0.1 * specification);
args.actor.system.details.price.gc += Math.floor(args.actor.system.details.price.gc * 0.1 * specification);