Files
foundryvtt-wh4-lang-fr-fr/scripts/Qo8q0P5j9OKEAP70.js
T
uberwald 38d88c2f19
Validation JSON / validate (push) Successful in 13s
Mise àjour vers 9.6.0
2026-05-18 07:23:40 +02:00

7 lines
278 B
JavaScript

let locs = Object.values(this.actor.system.status.armour).map(i => i.label).filter(i => i);
let location = locs[Math.floor(CONFIG.Dice.randomUniform() * (locs.length))];
this.script.notification(location);
this.effect.updateSource({name: this.effect.setSpecifier(location)});