Files
foundryvtt-wh4-lang-fr-fr/scripts/ulXfbycWUu36vdmS.js
LeRatierBretonnier 8862698262
All checks were successful
Validation JSON / validate (push) Successful in 15s
Release Creation / build (release) Successful in 57s
Nombreuses corections de scripts...
2026-03-07 15:02:18 +01:00

7 lines
327 B
JavaScript

let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {appendTitle : ` - ${this.effect.name}`, fields : {difficulty : "difficult", slBonus : -1 * this.effect.sourceTest.result.SL}})
await test.roll();
if (test.succeeded)
{
this.script.notification(`Résistance à ${this.effect.name}`);
}
return test.failed;