Add all systems effects scripts
This commit is contained in:
7
scripts/8tyMXDfHR8AJBdDu.js
Normal file
7
scripts/8tyMXDfHR8AJBdDu.js
Normal file
@ -0,0 +1,7 @@
|
||||
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;
|
||||
args.modifiers.ap.details.push(`${this.effect.name} - Ignore Weakpoints (${weakpointsAP})`);
|
||||
}
|
Reference in New Issue
Block a user