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

6 lines
306 B
JavaScript

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)})
}