Update scripts
This commit is contained in:
18
scripts/ClkT2WG2UjVwQ97T.js
Normal file
18
scripts/ClkT2WG2UjVwQ97T.js
Normal file
@ -0,0 +1,18 @@
|
||||
if (args.actor.has("Démoniaque")) {
|
||||
args.totalWoundLoss += 3;
|
||||
args.modifiers.other.push({label: this.effect.name, value: 3});
|
||||
}
|
||||
|
||||
let test = await args.actor.setupSkill("Endurance", {
|
||||
appendTitle: ` – ${this.effect.name}`,
|
||||
skipTargets: true,
|
||||
characteristic: 't',
|
||||
context: {
|
||||
failure: "Received 1 Blinded Condition"
|
||||
}
|
||||
});
|
||||
await test.roll();
|
||||
|
||||
if (test.failed) {
|
||||
args.actor.addCondition("blinded");
|
||||
}
|
Reference in New Issue
Block a user