Update scripts

This commit is contained in:
2024-10-08 20:52:09 +02:00
parent 1f1d871e53
commit fc4fa1deb5
178 changed files with 12247 additions and 10701 deletions

View 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!`);