From ab65901c386d716618fab16a605b9003fbf2db6d Mon Sep 17 00:00:00 2001 From: sladecraven Date: Mon, 1 Nov 2021 19:59:44 +0100 Subject: [PATCH] Fix Slayer --- 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 33073f2..a2668e2 100644 --- a/compendium/wfrp4e-core.talents.json +++ b/compendium/wfrp4e-core.talents.json @@ -1835,7 +1835,7 @@ "effectApplication": "actor", "effectTrigger": "calculateOpposedDamage", "preventDuplicateEffects": false, - "script": "if (args.sizeDiff <= -2 && args.opposedTest.attackerTest.result.critical)\n args.damageMultiplier = Math.abs(args.sizeDiff)\n\n let sBonusDiff = args.opposedTest.defenderTest.result.actor.characteristics.t.bonus - args.opposedTest.attackerTest.result.actor.characteristics.s.bonus\n let weapon = args.opposedTest.attackerTest.item\n if (sBonusDiff > 0 && weapon && weapon.damage.value.includes(\"SB\"))\n args.damage += sBonusDiff" + "script": "if (args.sizeDiff <= -2 && args.opposedTest.attackerTest.result.critical)\n args.damageMultiplier = Math.abs(args.sizeDiff)\n\n let sBonusDiff = args.opposedTest.defenderTest.actor.characteristics.t.bonus - args.opposedTest.attackerTest.actor.characteristics.s.bonus\n let weapon = args.opposedTest.attackerTest.item\n if (sBonusDiff > 0 && weapon && weapon.damage.value.includes(\"SB\"))\n args.damage += sBonusDiff" } }, "icon": "modules/wfrp4e-core/icons/talents/slayer.png", diff --git a/module.json b/module.json index 18217f2..eee142b 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "WH4-fr-translation", "title": "WFRP4e - Core Module en français.", "description": "Traduction Française pour Warhammer v4.", - "version": "4.2.2", + "version": "4.2.3", "minimumCoreVersion" : "0.8.0", "compatibleCoreVersion": "0.8.9", "author": "LeRatierBretonnien",