forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
7
reference_scripts/8araLuwmBq8GKEw3.js
Normal file
7
reference_scripts/8araLuwmBq8GKEw3.js
Normal file
@ -0,0 +1,7 @@
|
||||
let APIgnored = args.AP.layers.reduce((prev, current) => prev + ((current.weakpoints && !current.ignored) ? current.value : 0), 0)
|
||||
|
||||
if (APIgnored)
|
||||
{
|
||||
args.modifiers.ap.ignored += APIgnored
|
||||
args.modifiers.ap.details.push(`<strong>${this.effect.name}</strong>: Ignore AP with Weakpoints (${APIgnored})`)
|
||||
}
|
Reference in New Issue
Block a user