Files
foundryvtt-wh4-lang-fr-fr/scripts/C9ARvMauPNwIHj6o.js
T
uberwald 38d88c2f19
Validation JSON / validate (push) Successful in 13s
Mise àjour vers 9.6.0
2026-05-18 07:23:40 +02:00

6 lines
281 B
JavaScript

let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {skipTargets: true, appendTitle : ` - ${this.effect.name}`, fields : {difficulty : "hard"}, context : {failure: "Gain Broken"}});
await test.roll();
if (test.failed)
{
this.actor.addCondition("broken");
}