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

9 lines
296 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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;
}
}