6 lines
294 B
JavaScript
6 lines
294 B
JavaScript
|
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)
|