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

5 lines
237 B
JavaScript
Raw Permalink Normal View History

let points = this.effect.sourceTest.result.overcast.usage.other.current;
this.actor.update({"system.status.fortune.value" : this.actor.system.status.fortune.value + points});
this.script.scriptMessage(`Gained ${points} Fortune Points`)