From 6eb05e50671b42d5b26fbe18a11bb5f33f15d1c0 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 27 Apr 2022 11:50:50 +0200 Subject: [PATCH] Fix sniper FR --- compendium/wfrp4e-core.talents.json | 2 +- module.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compendium/wfrp4e-core.talents.json b/compendium/wfrp4e-core.talents.json index 6d68c5a..5e38c95 100644 --- a/compendium/wfrp4e-core.talents.json +++ b/compendium/wfrp4e-core.talents.json @@ -1864,7 +1864,7 @@ "wfrp4e": { "effectTrigger": "prepareItem", "effectApplication": "actor", - "script": "if (args.item.range && args.item.range.bands)\n{\nargs.item.range.bands[\"Long Range\"].modifier = 0\nargs.item.range.bands[\"Extreme\"].modifier /= 2\n}", + "script": "if (args.item.range && args.item.range.bands)\n {\n args.item.range.bands[game.i18n.localize(\"Long Range\")].modifier = 0\n args.item.range.bands[game.i18n.localize(\"Extreme\")].modifier /= 2 \n }", "hide": false, "preventDuplicateEffects": false } diff --git a/module.json b/module.json index be6a2ab..b82bf38 100644 --- a/module.json +++ b/module.json @@ -5,7 +5,7 @@ "authors": [ {"name":"LeRatierBretonnien" }], "url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr", "flags": {}, - "version": "5.2.8", + "version": "5.2.9", "minimumCoreVersion": "0.8.0", "compatibleCoreVersion": "9", "scripts": [],