foundryvtt-wh4-lang-fr-fr/reference_scripts/1ZArMNUI8qqH6zkX.js

8 lines
247 B
JavaScript
Raw Normal View History

let test = await args.actor.setupCharacteristic("wp", {skipTargets: true, appendTitle : " - " + this.effect.name, context : {failure: "Gained a Stunned Condition"}})
await test.roll();
if (test.failed)
{
args.actor.addCondition("stunned")
}