6 lines
246 B
JavaScript
6 lines
246 B
JavaScript
|
let test = await this.actor.setupCharacteristic("wp", {skipTargets: true, appendTitle : " - " + this.effect.name, context : {failure: "Gained a Stunned Condition"}})
|
||
|
await test.roll();
|
||
|
if (test.failed)
|
||
|
{
|
||
|
this.actor.addCondition("stunned");
|
||
|
}
|