7 lines
279 B
JavaScript
7 lines
279 B
JavaScript
if (this.item.equipped.value
|
|
&& args.opposedTest.attackerTest.item
|
|
&& (args.opposedTest.attackerTest.item.isProjectiles || args.opposedTest.attackerTest?.spell)
|
|
)
|
|
{
|
|
args.modifiers.other.push({label : this.effect.name, details : "Réduction des Dégâts", value : -2})
|
|
} |