Add all systems effects scripts
This commit is contained in:
9
scripts/Lrb1S2aK7SFVD0C7.js
Normal file
9
scripts/Lrb1S2aK7SFVD0C7.js
Normal file
@ -0,0 +1,9 @@
|
||||
if (args.totalWoundLoss > 0)
|
||||
{
|
||||
let test = await args.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
|
||||
await test.roll();
|
||||
if (test.failed)
|
||||
{
|
||||
await args.actor.addCondition("fatigued");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user