foundryvtt-wh4-lang-fr-fr/reference_scripts/LyAK0dVDS5L09yq2.js

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`)
}