4 lines
195 B
JavaScript
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"}}); |