平衡难度
This commit is contained in:
parent
afda2a02c8
commit
a1b7c389a0
@ -412,7 +412,7 @@ LITTLE_GAME_MAP_DATA = (
|
||||
c.SPIKEWEED: 100,
|
||||
c.SQUASH: 100,
|
||||
c.JALAPENO: 50,
|
||||
c.THREEPEASHOOTER: 400,}
|
||||
c.THREEPEASHOOTER: 300,}
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
@ -322,7 +322,7 @@ class Plant(pg.sprite.Sprite):
|
||||
if (zombie.name == c.SNORKELZOMBIE) and (zombie.frames == zombie.swim_frames):
|
||||
return False
|
||||
if (self.state != c.SLEEP and zombie.state != c.DIE and
|
||||
self.rect.x <= zombie.rect.right and zombie.rect.x <= c.SCREEN_WIDTH):
|
||||
self.rect.x <= zombie.rect.right and zombie.rect.x <= c.SCREEN_WIDTH - 24):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user