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

7 lines
258 B
JavaScript
Raw Normal View History

args.actor.setupSkill("Esquive", { fields: { difficulty: "average" } }).then(async test => {
2024-05-16 17:57:51 +02:00
await test.roll();
if (test.failed) {
await args.actor.addCondition("bleeding")
await args.actor.addCondition("entangled")
}
})