diff --git a/resources/data/map/level_0.json b/resources/data/map/level_0.json index dc35859..10ce319 100644 --- a/resources/data/map/level_0.json +++ b/resources/data/map/level_0.json @@ -14,8 +14,8 @@ {"time":7000, "map_y":4, "name":"ScreenDoorZombie"}, {"time":8000, "map_y":4, "name":"ScreenDoorZombie"}, {"time":0, "map_y":1, "name":"NewspaperZombie"}, - {"time":3000, "map_y":0, "name":"PoleVaultingZombie"}, - {"time":0, "map_y":0, "name":"FootballZombie"}, + {"time":0, "map_y":0, "name":"PoleVaultingZombie"}, + {"time":6000, "map_y":0, "name":"FootballZombie"}, {"time":0, "map_y":2, "name":"ConeheadDuckyTubeZombie"}, {"time":80000, "map_y":2, "name":"ConeheadDuckyTubeZombie"} ] diff --git a/source/component/plant.py b/source/component/plant.py index 87f3444..c34015e 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -612,7 +612,7 @@ class Chomper(Plant): if (zombie.name in {c.POLE_VAULTING_ZOMBIE}) and (not zombie.jumped): return False elif (self.state == c.IDLE and zombie.state != c.DIGEST and - self.rect.x <= zombie.rect.right - 10 and (not zombie.lostHead) and + self.rect.x <= zombie.rect.centerx and (not zombie.lostHead) and (self.rect.x + c.GRID_X_SIZE*2.6 >= zombie.rect.centerx)): return True return False