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

3 lines
184 B
JavaScript

let roll = await new Roll("1d10").roll();
roll.toMessage({flavor : this.effect.name, speaker : {alias : this.actor.prototypeToken.name}})
this.actor.addCondition("stunned", roll.total)