将炸弹伤害改为1800,为巨人作准备

This commit is contained in:
星外之神 2022-04-07 13:03:19 +08:00
parent 21b0611b22
commit b6e0961d2b

View File

@ -584,7 +584,9 @@ class Level(tool.State):
continue
for zombie in self.zombie_groups[i]:
if abs(zombie.rect.centerx - x) <= x_range:
zombie.setBoomDie()
zombie.health -= 1800
if zombie.health <= 0:
zombie.setBoomDie()
def freezeZombies(self, plant):
for i in range(self.map_y_len):