forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
6
reference_scripts/ApaLcUhuty3EzJoP.js
Normal file
6
reference_scripts/ApaLcUhuty3EzJoP.js
Normal file
@ -0,0 +1,6 @@
|
||||
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> fortune points increased from ${current} to ${fortunePoints + current}`)
|
Reference in New Issue
Block a user