2024-05-16 17:57:51 +02:00
|
|
|
let wounds = this.actor.system.status.wounds
|
|
|
|
if (wounds.value == 0)
|
2024-05-17 01:07:37 +02:00
|
|
|
return this.script.scriptNotification("Aucun effet à 0 Blessures", "error")
|
2024-05-16 17:57:51 +02:00
|
|
|
|
2024-05-17 01:07:37 +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)
|