Neuanfang mit französischem Modul

This commit is contained in:
2025-05-05 23:25:00 +02:00
parent cf24ef97df
commit 3f74b8dfdd
3135 changed files with 38383 additions and 93206 deletions
-20
View File
@@ -1,20 +0,0 @@
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
await test.roll();
if (test.failed)
{
if (!this.actor.hasCondition("fatigued"))
{
await this.actor.addCondition("fatigued");
}
else
{
await this.actor.addCondition("blinded");
await this.actor.addCondition("deafened");
}
if (((this.actor.hasCondition("blinded").conditionValue || 0) + (this.actor.hasCondition("deafened").conditionValue || 0)) > this.actor.system.characteristics.i.bonus)
{
await this.actor.addCondition("unconscious");
}
}