From 0eb0fc25a930a514b677e71fab1dd3d2412e2e58 Mon Sep 17 00:00:00 2001
From: Neil <neil@dip.sun.ac.za>
Date: Sun, 6 Mar 2016 00:53:03 +0200
Subject: [PATCH] Slow down attack rate a bit

---
 koperkapel/gamelib/enemy_roach.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koperkapel/gamelib/enemy_roach.py b/koperkapel/gamelib/enemy_roach.py
index 2201c58..83523b6 100644
--- a/koperkapel/gamelib/enemy_roach.py
+++ b/koperkapel/gamelib/enemy_roach.py
@@ -27,7 +27,7 @@ def get_enemy_roach(level):
 def attack(roach, player_pos, player_layer, dt):
     """Attack the player if close enough"""
     roach.last_attacked += dt
-    if roach.last_attacked > 0.3:
+    if roach.last_attacked > 0.6:
         roach.last_attacked = 0
         if player_layer != 'floor':
             return None
-- 
2.34.1