Add all systems effects scripts
This commit is contained in:
8
scripts/Gc8S5TYlVdV8NnOT.js
Normal file
8
scripts/Gc8S5TYlVdV8NnOT.js
Normal file
@ -0,0 +1,8 @@
|
||||
let test = await args.actor.setupSkill(game.i18n.localize("NAME.Cool"), {skipTargets: true, appendTitle : " - " + this.effect.name, context: { failure: "Gained a Broken Condition", success: "Resisted the Broken Condition" } })
|
||||
|
||||
await test.roll();
|
||||
|
||||
if (!test.succeeded)
|
||||
{
|
||||
args.actor.addCondition("broken");
|
||||
}
|
Reference in New Issue
Block a user