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

7 lines
256 B
JavaScript
Raw Normal View History

args.actor.setupSkill("Dodge", { fields: { difficulty: "average" } }).then(async test => {
await test.roll();
if (test.failed) {
await args.actor.addCondition("bleeding")
await args.actor.addCondition("entangled")
}
})