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

5 lines
237 B
JavaScript

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