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

3 lines
184 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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)