From d598e051663d44d37c18e0410df0ec0a684e3c75 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Fri, 15 Apr 2022 19:04:19 +0200 Subject: [PATCH] Fix portebouclier --- compendium/wfrp4e-core.talents.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compendium/wfrp4e-core.talents.json b/compendium/wfrp4e-core.talents.json index f67b60f..6d68c5a 100644 --- a/compendium/wfrp4e-core.talents.json +++ b/compendium/wfrp4e-core.talents.json @@ -1795,7 +1795,7 @@ "effectApplication": "actor", "effectTrigger": "opposedDefender", "preventDuplicateEffects": true, - "script": "if (args.opposedTest.result.winner == \"attacker\") {\n if (args.opposedTest.defenderTest.weapon && args.opposedTest.defenderTest.item.properties.qualities.shield){\n ui.notifications.notify(`Porte-Bouclier: Gain de ${this.item.Advances} Avantages`) this.actor.setAdvantage(this.item.Advances) \n } \n }" + "script": "if (args.opposedTest.result.winner == \"attacker\") {\n if (args.opposedTest.defenderTest.weapon && args.opposedTest.defenderTest.item.properties.qualities.shield) {\n ui.notifications.notify(`Porte-Bouclier: Gain de ${this.item.Advances} Avantages`)\nthis.actor.setAdvantage(this.item.Advances) \n } \n }" } }, "icon": "modules/wfrp4e-core/icons/talents/shieldsman.png",