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

7 lines
352 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let nonmagical = args.modifiers.ap.value - args.modifiers.ap.magical
if (args.applyAP && nonmagical)
{
let nonmagical = args.modifiers.ap.value - args.modifiers.ap.magical
args.modifiers.ap.ignored += nonmagical
args.modifiers.ap.details.push("<strong>" + this.effect.name + "</strong>: Ignore les PA non-magiques (" + nonmagical + ")");
2024-05-16 17:57:51 +02:00
}