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

5 lines
242 B
JavaScript

let roll = await new Roll("1d10 + 1").roll()
await roll.toMessage(this.script.getChatData());
this.script.scriptNotification(`Soins de ${roll.total} Blessures`)
this.actor.corruptionDialog("moderate")
await this.actor.modifyWounds(roll.total)