Fix portebouclier
This commit is contained in:
parent
8a2ff0f2cd
commit
d598e05166
@ -1795,7 +1795,7 @@
|
|||||||
"effectApplication": "actor",
|
"effectApplication": "actor",
|
||||||
"effectTrigger": "opposedDefender",
|
"effectTrigger": "opposedDefender",
|
||||||
"preventDuplicateEffects": true,
|
"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(`<b>Porte-Bouclier</b>: 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(`<b>Porte-Bouclier</b>: Gain de ${this.item.Advances} Avantages`)\nthis.actor.setAdvantage(this.item.Advances) \n } \n }"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"icon": "modules/wfrp4e-core/icons/talents/shieldsman.png",
|
"icon": "modules/wfrp4e-core/icons/talents/shieldsman.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user