Add all systems effects scripts + translations
This commit is contained in:
6
reference_scripts/2zeP2nMSURjxrqYz.js
Normal file
6
reference_scripts/2zeP2nMSURjxrqYz.js
Normal file
@ -0,0 +1,6 @@
|
||||
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)
|
Reference in New Issue
Block a user