|  |  | @ -225,22 +225,21 @@ public enum CombatManager { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             //check if Out of Stamina
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (attacker.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter)) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (attacker.getStamina() < (weapon.template.item_wt / 3f)) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     //set auto attack job
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     setAutoAttackJob(attacker, slot, delay); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     return; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             // take stamina away from attacker
 |  |  |  |             // take stamina away from attacker
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (weapon != null) { |  |  |  |             if (weapon != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 //check if Out of Stamina
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (attacker.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     if (attacker.getStamina() < (weapon.template.item_wt / 3f)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         //set auto attack job
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         setAutoAttackJob(attacker, slot, delay); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 float stam = weapon.template.item_wt / 3f; |  |  |  |                 float stam = weapon.template.item_wt / 3f; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 stam = (stam < 1) ? 1 : stam; |  |  |  |                 stam = (stam < 1) ? 1 : stam; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 attacker.modifyStamina(-(stam), attacker, true); |  |  |  |                 attacker.modifyStamina(-(stam), attacker, true); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else |  |  |  |             } else | 
			
		
	
		
		
			
				
					
					|  |  |  |                 attacker.modifyStamina(-0.5f, attacker, true); |  |  |  |                 attacker.modifyStamina(1, attacker, true); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             //cancel things that are cancelled by an attack
 |  |  |  |             //cancel things that are cancelled by an attack
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |