foundryvtt-wh4-lang-fr-fr/scripts/2rzxQlL7A9ujZ9uK.js

6 lines
316 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
if (args.opposedTest.result.winner == "attacker") {
if (args.opposedTest.defenderTest.weapon && args.opposedTest.defenderTest.item.properties.qualities.shield) {
ui.notifications.notify(`<b>${this.effect.name}</b>: Gain de ${this.item.Advances} Avantages`)
this.actor.setAdvantage(this.item.Advances)
}
}