forked from public/foundryvtt-wh4-lang-fr-fr
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			245 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			245 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
let fatigue = this.actor.hasCondition("fatigued")
 | 
						|
if (fatigue)
 | 
						|
{
 | 
						|
   this.script.scriptNotification("Suppression de l'état Fatigué, effet désactivé.")
 | 
						|
    this.effect.update({disabled : true})
 | 
						|
   await this.actor.removeCondition("fatigued")
 | 
						|
} |