2024-05-16 17:57:51 +02:00
|
|
|
let weakpointsAP = args.AP.layers.filter(i => !i.ignored && i.weakpoints).reduce((ap, layer) => ap + layer.value, 0);
|
|
|
|
|
|
|
|
if (weakpointsAP > 0)
|
|
|
|
{
|
|
|
|
args.modifiers.ap.ignored += weakpointsAP;
|
2024-05-17 01:07:37 +02:00
|
|
|
args.modifiers.ap.details.push(`${this.effect.name} - Ignore les Points Faibles (${weakpointsAP})`);
|
2024-05-16 17:57:51 +02:00
|
|
|
}
|