foundryvtt-wh4-lang-fr-fr/reference_scripts/8rq4GL5d5nCn4kO7.js

7 lines
246 B
JavaScript

let caster = this.effect.sourceActor
if (caster)
{
let healed= caster.characteristics.wp.bonus
this.actor.modifyWounds(healed);
this.script.scriptMessage(`<strong>${this.actor.prototypeToken.name}</strong> regains ${healed} Wounds`)
}