Files
foundryvtt-wh4-lang-fr-fr/scripts/dSie82gBJoln1V2i.js

6 lines
253 B
JavaScript

await this.actor.hasCondition("broken")?.delete();
await this.actor.hasCondition("fatigued")?.delete();
let healed = this.effect.getFlag("wfrp4e", "handOfGlory")?.roll || 0;
this.actor.modifyWounds(healed)
this.script.message(`Healed ${healed} Wounds`)