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

5 lines
245 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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> voit ses Points de Destin augmentés de ${current} à ${current + 1}`)