foundryvtt-wh4-lang-fr-fr/scripts/2zeP2nMSURjxrqYz.js

6 lines
294 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let wounds = this.actor.system.status.wounds
if (wounds.value == 0)
return this.script.scriptNotification("No effect at 0 Wounds", "error")
this.script.scriptNotification(`Healed ${this.actor.characteristics.t.bonus} Wounds`)
await this.actor.modifyWounds(this.actor.characteristics.t.bonus)