Files
wfrp-4e-de/scripts/2zeP2nMSURjxrqYz.js
T
2025-05-02 12:24:44 +02:00

6 lines
303 B
JavaScript

let wounds = this.actor.system.status.wounds
if (wounds.value == 0)
return this.script.scriptNotification("Aucun effet à 0 Blessures", "error")
this.script.scriptNotification(`Soin de ${this.actor.characteristics.t.bonus} Blessures`)
await this.actor.modifyWounds(this.actor.characteristics.t.bonus)