5 lines
241 B
JavaScript
5 lines
241 B
JavaScript
// If this actor wins a defending test, swap the test
|
|
if (!args.opposedTest.result.swapped && args.opposedTest.result.winner == "defender" && args.opposedTest.attackerTest.result.damage)
|
|
{
|
|
await args.opposedTest.swap(this.effect.name);
|
|
} |