Update scripts
This commit is contained in:
8
scripts/SThruXFhxUdNKCG4.js
Normal file
8
scripts/SThruXFhxUdNKCG4.js
Normal file
@ -0,0 +1,8 @@
|
||||
const test = await this.actor.setupCharacteristic("int", {fields: {difficulty: "easy"}, skipTargets: true, appendTitle : ` - ${this.effect.name}`});
|
||||
await test.roll();
|
||||
|
||||
if (test.failed) {
|
||||
this.actor.addCondition('stunned');
|
||||
}
|
||||
|
||||
this.script.scriptNotification(`${this.actor.name} failed the Intelligence Test and gained Stunned Condition!`);
|
Reference in New Issue
Block a user