2024-05-16 17:57:51 +02:00
|
|
|
let APIgnored = args.AP.layers.reduce((prev, current) => prev + ((current.weakpoints && !current.ignored) ? current.value : 0), 0)
|
|
|
|
|
|
|
|
if (APIgnored)
|
|
|
|
{
|
|
|
|
args.modifiers.ap.ignored += APIgnored
|
2024-05-17 01:07:37 +02:00
|
|
|
args.modifiers.ap.details.push(`<strong>${this.effect.name}</strong>: Ignorer les PA avec des Points Faibles (${APIgnored})`)
|
2024-05-16 17:57:51 +02:00
|
|
|
}
|