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

5 lines
232 B
JavaScript
Raw Permalink Normal View History

let current = this.actor.status.fate.value
this.actor.update({"system.status.fate.value" : current + 1})
this.script.scriptMessage(`<b>${this.actor.prototypeToken.name}</b> fate points increased from ${current} to ${current + 1}`)