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
-14
View File
@@ -1,14 +0,0 @@
let test = this.effect.sourceTest;
if (test.failed && (test.result.roll % 11 == 0 || test.result.roll == 100))
{
let points = await new Roll("1d10").roll();
game.dice3d?.showForRoll(points)
this.actor.update({"system.status.corruption.value" : this.actor.system.status.corruption.value + points.total})
this.script.scriptMessage(`Gains ${points.total} Corruption`)
}
else
{
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.scriptMessage(`Loses ${points} Corruption`)
}