6 lines
354 B
JavaScript
6 lines
354 B
JavaScript
let fortunePoints = this.effect.sourceTest.result.overcast.usage.other.current
|
|
let current = this.actor.status.fortune.value
|
|
|
|
this.actor.update({"system.status.fortune.value" : fortunePoints + current})
|
|
|
|
this.script.scriptMessage(`<b>${this.actor.prototypeToken.name}</b> voit ses points de Destin augmentés de ${current} à ${fortunePoints + current}`) |