Fix scripts !

This commit is contained in:
2026-01-29 11:43:28 +01:00
parent 0e8237c233
commit 752a6701c0
104 changed files with 195 additions and 193 deletions

View File

@@ -8,7 +8,7 @@ if (test.failed && (test.result.roll % 11 == 0 || test.result.roll == 100))
}
else
{
let points = this.effet.sourceTest.result.overcast.usage.other.current;
let points = this.effect.sourceTest.result.overcast.usage.other.current;
this.actor.update({"system.status.corruption.value" : this.actor.system.status.corruption.value - points})
this.script.message(`Perd de ${points} de Corruption`)
}