|  |  |  | @ -150,11 +150,11 @@ public enum CombatManager {@@ -150,11 +150,11 @@ public enum CombatManager { | 
			
		
	
		
			
				
					|  |  |  |  |         float distanceSquared = attacker.loc.distanceSquared(target.loc); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         boolean inRange = false; | 
			
		
	
		
			
				
					|  |  |  |  |         //if (attacker.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter)) {
 | 
			
		
	
		
			
				
					|  |  |  |  |         //    attackRange += ((PlayerCharacter) attacker).getCharacterHeight() * 0.5f;
 | 
			
		
	
		
			
				
					|  |  |  |  |         //} else {
 | 
			
		
	
		
			
				
					|  |  |  |  |             attackRange += attacker.calcHitBox(); | 
			
		
	
		
			
				
					|  |  |  |  |         //}
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (AbstractCharacter.IsAbstractCharacter(target)) { | 
			
		
	
		
			
				
					|  |  |  |  |             attackRange += ((AbstractCharacter)target).calcHitBox(); | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if(attackRange > 15 && attacker.isMoving()){ | 
			
		
	
		
			
				
					|  |  |  |  |             //cannot shoot bow while moving;
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |