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

5 lines
241 B
JavaScript
Raw Permalink Normal View History

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> fortune points increased from ${current} to ${1 + current}`)