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

5 lines
237 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let roll = await new Roll("1d10 + 1").roll()
await roll.toMessage(this.script.getChatData());
this.script.scriptNotification(`Healed ${roll.total} Wounds`)
this.actor.corruptionDialog("moderate")
await this.actor.modifyWounds(roll.total)