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

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

View File

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