forked from public/foundryvtt-wh4-lang-fr-fr
		
	Sync to v7.2.0
This commit is contained in:
		
							
								
								
									
										9
									
								
								reference_scripts/X08401eOhKJrhNf1.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								reference_scripts/X08401eOhKJrhNf1.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| const grim = this.actor.items.find(i => i.type === "trait" && i.name.includes("Grim")); | ||||
|  | ||||
| if (args.options?.deltaAdv > 0 && this.actor.hasCondition("engaged") && grim.specification.value !== 4) { | ||||
|   grim.update({"system.specification.value": 4}); | ||||
| } | ||||
|  | ||||
| if (!this.actor.hasCondition("engaged") && grim.specification.value !== 2) { | ||||
|   grim.update({"system.specification.value": 2}); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user