forked from public/foundryvtt-wh4-lang-fr-fr
		
	Add all systems effects scripts
This commit is contained in:
		
							
								
								
									
										5
									
								
								scripts/Bj6bxItlgtI2sXVN.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								scripts/Bj6bxItlgtI2sXVN.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| let roll = await new Roll("1d10").roll(); | ||||
| roll.toMessage(this.script.getChatData()); | ||||
| args.totalWoundLoss = Math.max(0, args.totalWoundLoss - roll.total) | ||||
| args.modifiers.other.push({label: this.effect.name, value : -1 * roll.total}) | ||||
| this.effect.update({disabled : true}) | ||||
		Reference in New Issue
	
	Block a user