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

7 lines
216 B
JavaScript
Raw Permalink Normal View History

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