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

6 lines
226 B
JavaScript
Raw Normal View History

2024-06-09 17:08:53 +02:00
let test = await this.actor.setupCharacteristic("ag", {skipTargets: true, appendTitle : ` - ${this.effect.name}`, context: { failure: "A Terre" }})
2024-05-16 17:57:51 +02:00
await test.roll();
if (test.failed)
{
this.actor.addCondition("prone");
}