foundryvtt-wh4-lang-fr-fr/scripts/yMMzZ7daCqRlGT3N.js

6 lines
306 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let item = args.opposedTest.attackerTest.item;
if (!item.isMagical && (item.type == "weapon" || item.type == "trait"))
{
args.modifiers.other.push({label : this.effect.name, details : "Suppression de la valeur de dommages", value : -1 * (args.totalWoundLoss - args.opposedTest.result.differenceSL)})
2024-05-16 17:57:51 +02:00
}