Files
foundryvtt-wh4-lang-fr-fr/scripts/7ykah8fvh2Y0o2Hi.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

4 lines
195 B
JavaScript

this.actor.addCondition("blinded");
let roll = await new Roll("1d10").roll();
roll.toMessage(this.script.getChatData());
this.effect.updateSource({duration: {value: roll.total, units: "hours"}});