forked from public/foundryvtt-wh4-lang-fr-fr
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			323 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			323 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 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>: Ignorer les PA avec des Points Faibles (${APIgnored})`)
 | |
| } |