9 lines
252 B
JavaScript
9 lines
252 B
JavaScript
|
let caster = this.effect.sourceActor
|
||
|
|
||
|
if (caster)
|
||
|
{
|
||
|
let bonus = caster.system.characteristics.wp.bonus
|
||
|
this.actor.modifyWounds(bonus)
|
||
|
|
||
|
this.script.scriptMessage(`<strong>${this.actor.prototypeToken.name}</strong> regains ${bonus} Wounds`)
|
||
|
}
|