Monsters can hit the player. No respect for unarmed people...
This commit is contained in:
		@@ -30,6 +30,8 @@ class Monster(FightingEntity):
 | 
			
		||||
                    self.move_right()
 | 
			
		||||
                else:
 | 
			
		||||
                    self.move_left()
 | 
			
		||||
            if self.distance_squared(target) <= 1:
 | 
			
		||||
                self.hit(target)
 | 
			
		||||
        else:
 | 
			
		||||
            for _ in range(100):
 | 
			
		||||
                if choice([self.move_up, self.move_down,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user