将炸弹伤害改为1800,为巨人作准备
This commit is contained in:
parent
21b0611b22
commit
b6e0961d2b
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user