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

5 lines
238 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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(`Gagne ${points} Points de Chance`)