config-patch WIP

This commit is contained in:
2025-05-08 21:38:19 +02:00
parent 1d166df55c
commit 881ca2f6e5
33 changed files with 190 additions and 189 deletions
+13 -13
View File
@@ -4884,7 +4884,7 @@
"contraction": "Sur un échec d'un Test d'Endurance Facile (+40) après avoir ingurgité de la matière infectée.",
"incubationValue": "1d10",
"incubationUnit": "Heures",
"symptoms": "Intoxication Alimentaire (Modérée), Malaise, Nausée",
"symptoms": "Intoxication Alimentaire (moderate), Malaise, Nausée",
"permanent": "",
"effects": [
{
@@ -4895,7 +4895,7 @@
"startTime": null
},
"icon": "modules/wfrp4e-core/icons/diseases/disease.png",
"label": "Intoxication Alimentaire (Modérée)",
"label": "Intoxication Alimentaire (moderate)",
"transfer": true,
"flags": {
"wfrp4e": {
@@ -4970,7 +4970,7 @@
"effectApplication": "actor",
"effectTrigger": "prefillDialog",
"symptom": true,
"script": "\nlet modifier = 0\n if (this.effect.label.includes(\"Modérée\"))\n modifier = -20\n else\n modifier = -10\n \n let applicableCharacteristics = [\"ws\", \"bs\", \"s\", \"ag\", \"t\", \"dex\"]\n if (args.type == \"weapon\")\n args.prefillModifiers.modifier += modifier\n else if (args.type == \"characteristic\")\n {\n if (applicableCharacteristics.includes(args.item))\n args.prefillModifiers.modifier += modifier\n }\n else if (args.type == \"skill\")\n {\n if (applicableCharacteristics.includes(args.item.characteristic.key))\n args.prefillModifiers.modifier += modifier\n }"
"script": "\nlet modifier = 0\n if (this.effect.label.includes(\"moderate\"))\n modifier = -20\n else\n modifier = -10\n \n let applicableCharacteristics = [\"ws\", \"bs\", \"s\", \"ag\", \"t\", \"dex\"]\n if (args.type == \"weapon\")\n args.prefillModifiers.modifier += modifier\n else if (args.type == \"characteristic\")\n {\n if (applicableCharacteristics.includes(args.item))\n args.prefillModifiers.modifier += modifier\n }\n else if (args.type == \"skill\")\n {\n if (applicableCharacteristics.includes(args.item.characteristic.key))\n args.prefillModifiers.modifier += modifier\n }"
}
}
},
@@ -5206,7 +5206,7 @@
"effectApplication": "actor",
"effectTrigger": "invoke",
"symptom": true,
"script": "\n let difficulty = \"\"\n if (this.effect.label.includes(\"Modérée\"))\n difficulty = \"easy\"\n else if (this.effect.label.includes(\"Grave\"))\n difficulty = \"average\"\n else\n difficulty = \"veasy\"\n \n if (this.actor.isOwner)\n {\n args.actor.setupSkill(\"Résistance\", {context : {failure : args.actor.name + \" meurt de la Toxine\"}, absolute: {difficulty}, appendTitle : \" - Toxine\"}).then(setupData => {\n args.actor.basicTest(setupData).then(test => \n {\n if (test.result.outcome == \"failure\")\n args.actor.addCondition(\"dead\")\n })\n })\n }"
"script": "\n let difficulty = \"\"\n if (this.effect.label.includes(\"moderate\"))\n difficulty = \"easy\"\n else if (this.effect.label.includes(\"Grave\"))\n difficulty = \"average\"\n else\n difficulty = \"veasy\"\n \n if (this.actor.isOwner)\n {\n args.actor.setupSkill(\"Résistance\", {context : {failure : args.actor.name + \" meurt de la Toxine\"}, absolute: {difficulty}, appendTitle : \" - Toxine\"}).then(setupData => {\n args.actor.basicTest(setupData).then(test => \n {\n if (test.result.outcome == \"failure\")\n args.actor.addCondition(\"dead\")\n })\n })\n }"
}
}
},
@@ -5331,7 +5331,7 @@
"contraction": "Effectuer un Test de Résistance Accessible (+20) pour chaque heure entamée passée dans la zone infectée, ou lorsque vous vous retrouvez en présence de fluides infectés.",
"incubationValue": "1d10",
"incubationUnit": "Minutes",
"symptoms": "Bubons, Toxine (Modérée), Fièvre, Gangrène, Malaise",
"symptoms": "Bubons, Toxine (moderate), Fièvre, Gangrène, Malaise",
"permanent": "",
"effects": [
{
@@ -5342,14 +5342,14 @@
"startTime": null
},
"icon": "modules/wfrp4e-core/icons/diseases/disease.png",
"label": "Toxine (Modérée)",
"label": "Toxine (moderate)",
"transfer": true,
"flags": {
"wfrp4e": {
"effectApplication": "actor",
"effectTrigger": "invoke",
"symptom": true,
"script": "\n let difficulty = \"\"\n if (this.effect.label.includes(\"Modérée\"))\n difficulty = \"easy\"\n else if (this.effect.label.includes(\"Grave\"))\n difficulty = \"average\"\n else\n difficulty = \"veasy\"\n \n if (this.actor.isOwner)\n {\n args.actor.setupSkill(\"Résistance\", {context : {failure : args.actor.name + \" meurt de la Toxine\"}, absolute: {difficulty}, appendTitle : \" - Toxine\"}).then(setupData => {\n args.actor.basicTest(setupData).then(test => \n {\n if (test.result.outcome == \"failure\")\n args.actor.addCondition(\"dead\")\n })\n })\n }"
"script": "\n let difficulty = \"\"\n if (this.effect.label.includes(\"moderate\"))\n difficulty = \"easy\"\n else if (this.effect.label.includes(\"Grave\"))\n difficulty = \"average\"\n else\n difficulty = \"veasy\"\n \n if (this.actor.isOwner)\n {\n args.actor.setupSkill(\"Résistance\", {context : {failure : args.actor.name + \" meurt de la Toxine\"}, absolute: {difficulty}, appendTitle : \" - Toxine\"}).then(setupData => {\n args.actor.basicTest(setupData).then(test => \n {\n if (test.result.outcome == \"failure\")\n args.actor.addCondition(\"dead\")\n })\n })\n }"
}
}
},
@@ -10353,7 +10353,7 @@
"tests": ""
},
{
"description": "<p>VVotre regard sévère et vos mots exaltants incitent vos soldats à se battre jusquau bout. Tous les subalternes capables de vous voir peuvent ajouter votre Niveau de Seigneur de guerre au DR dun Test de Force Mentale par Round. Ce bonus nest pas cumulatif.</p>",
"description": "<p>VVotre regard schwerwiegend et vos mots exaltants incitent vos soldats à se battre jusquau bout. Tous les subalternes capables de vous voir peuvent ajouter votre Niveau de Seigneur de guerre au DR dun Test de Force Mentale par Round. Ce bonus nest pas cumulatif.</p>",
"id": "War Leader",
"name": "Seigneur de guerre",
@@ -23572,8 +23572,8 @@
"Main Gauche ou Brise-Epée",
"Pistolet avec poudre et munitions"
],
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duelliste}<\/p>",
"name": "Duelliste"
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duellist}<\/p>",
"name": "Duellist"
},
{
"id": "Duelmaster",
@@ -23583,7 +23583,7 @@
"Fidèle main gauche",
"2 épées d'entraînement en bois"
],
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duelliste}<\/p>",
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duellist}<\/p>",
"name": "Maître duelliste"
},
{
@@ -23659,7 +23659,7 @@
"Arme de base ou Rapière",
"Besace contenant des vêtements et 1d10 bandages"
],
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duelliste}<\/p>",
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duellist}<\/p>",
"name": "Escrimeur"
},
{
@@ -24024,7 +24024,7 @@
"trappings": [
"2 Armes de qualité"
],
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duelliste}<\/p>",
"description": "<p>@UUID[Compendium.wfrp4e-core.journals.wczCPcuHT4VQDLpL.JournalEntryPage.3r4A1DOiF3laRWvq]{Duellist}<\/p>",
"name": "Champion de justice"
},
{