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

2 lines
190 B
JavaScript

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