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

6 lines
303 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("Aucun effet à 0 Blessures", "error")
2024-05-16 17:57:51 +02:00
this.script.scriptNotification(`Soin de ${this.actor.characteristics.t.bonus} Blessures`)
2024-05-16 17:57:51 +02:00
await this.actor.modifyWounds(this.actor.characteristics.t.bonus)