foundryvtt-wh4-lang-fr-fr/reference_scripts/bBdXzBmxgFFBwMMS.js

9 lines
296 B
JavaScript
Raw Permalink Normal View History

if(args.opposedTest.attackerTest.item?.isRanged && args.applyAP && !args.sureShot)
{
if (args.modifiers.ap.value)
{
args.sureShot = true;
args.modifiers.ap.details.push(`${this.effect.name} (Ignore ${this.item.Advances})`)
args.modifiers.ap.ignored += this.item.Advances;
}
}