11 lines
316 B
JavaScript
11 lines
316 B
JavaScript
|
let weapon = args.opposedTest.defenderTest.weapon
|
||
|
if (
|
||
|
!args.opposedTest.result.swapped &&
|
||
|
args.opposedTest.result.winner == "defender" &&
|
||
|
args.opposedTest.attackerTest.result.damage &&
|
||
|
weapon &&
|
||
|
weapon?.system.properties.qualities.fast
|
||
|
)
|
||
|
{
|
||
|
args.opposedTest.swap(this.effect.label);
|
||
|
}
|