Files
foundryvtt-wh4-lang-fr-fr/scripts/J60gMzmsNau8j53K.js

2 lines
191 B
JavaScript

const excessSL = this.effect.sourceTest.result.baseSL - this.effect.sourceItem.system.sl;
await this.effect.update({duration:{rounds: this.actor.system.characteristics.ag.bonus + excessSL}});