Files
wfrp-4e-de/reference_scripts/2rzxQlL7A9ujZ9uK.js
T
2025-05-10 00:11:46 +02:00

6 lines
315 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>: Gained ${this.item.Advances} Advantage`)
this.actor.setAdvantage(this.item.Advances)
}
}