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": [],