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