This commit is contained in:
2025-05-02 12:24:44 +02:00
commit 39e925cc1b
3238 changed files with 110472 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
let damage = 0
let test = await this.actor.setupSkill("Esquive", {skipTargets: true, appendTitle : ` - ${this.effect.name}`});
await test.roll();
if (test.succeeded)
{
damage = 10;
}
else if (test.failed)
{
damage = 20;
}
this.script.scriptMessage(await this.actor.applyBasicDamage(damage, {loc : "roll", hideDSN: true, suppressMsg : true}))