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

5 lines
251 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let current = this.actor.status.fortune.value
this.actor.update({"system.status.fortune.value" : 1 + current})
this.script.scriptMessage(`<b>${this.actor.prototypeToken.name}</b> voit ses Points de Chance augmenter de ${current} à ${1 + current}`)