6 lines
229 B
JavaScript
6 lines
229 B
JavaScript
let test = await this.actor.setupCharacteristic("ag", {skipTargets: true, appendTitle : ` - ${this.effect.name}`, context: { failure: "Goes Prone" }})
|
|
await test.roll();
|
|
if (test.failed)
|
|
{
|
|
this.actor.addCondition("prone");
|
|
} |