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

8 lines
220 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let test = await this.actor.setupCharacteristic("ag", {fields : {difficulty : "hard"}});
await test.roll();
if (test.failed)
{
await this.actor.addCondition("bleeding")
await this.actor.addCondition("entangled")
}