6 lines
316 B
JavaScript
6 lines
316 B
JavaScript
|
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)
|
||
|
}
|
||
|
}
|