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
-21
View File
@@ -1,21 +0,0 @@
let resistance
if (this.item.name.includes("("))
{
resistance = this.item.parenthesesText
}
else
{
resistance = await ValueDialog.create("Enter Resistance", "Resistance")
if (resistance)
{
this.item.updateSource({name : this.item.name + ` (${resistance})`})
this.effect.updateSource({name : this.effect.name + ` (${resistance})`})
}
}
this.item.updateSource({"system.tests.value" : this.item.system.tests.value.replace("the associated Threat", resistance)})
if (resistance && !this.effect.name.includes("("))
{
this.effect.updateSource({name : this.effect.name += ` (${resistance})`})
}