foundryvtt-wh4-lang-fr-fr/scripts/a7pEvCycVnFBXGAQ.js

7 lines
216 B
JavaScript

let test = await this.actor.setupCharacteristic("i", {skipTargets: true, appendTitle : " - Stunned", fields : {difficulty : "easy"}})
await test.roll();
if (!test.succeeded)
{
this.actor.addCondition("stunned");
}