Add all systems effects scripts + translations
This commit is contained in:
		
							
								
								
									
										7
									
								
								reference_scripts/hCzxUyO6mjLNIpaM.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								reference_scripts/hCzxUyO6mjLNIpaM.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| let woundsGained = Math.min(args.totalWoundLoss, args.actor.status.wounds.value) | ||||
|  | ||||
| woundsGained = Math.floor(woundsGained / 2) | ||||
|  | ||||
| args.attacker.update({ "system.status.wounds.value": args.attacker.status.wounds.value + woundsGained }) | ||||
|  | ||||
| this.script.scriptMessage(`Gains ${woundsGained} Wounds`) | ||||
		Reference in New Issue
	
	Block a user