forked from public/foundryvtt-wh4-lang-fr-fr
Fix scripts !
This commit is contained in:
@@ -2,7 +2,7 @@ if (!this.item.equipped.value) {
|
||||
return this.script.notification(`Vous devez équiper le ${this.item.name} pour récupérer des points de blessures.`,"info")
|
||||
}
|
||||
|
||||
const runesOfRestoration = this.item.effects.contents.filter(e => e.name == this.effet.name)
|
||||
const runesOfRestoration = this.item.effects.contents.filter(e => e.name == this.effect.name)
|
||||
const restorationWounds = parseInt(runesOfRestoration.length * this.actor.system.characteristics.t.bonus)
|
||||
|
||||
this.actor.modifyWounds(restorationWounds)
|
||||
|
||||
Reference in New Issue
Block a user