Skip to content

Commit

Permalink
将炸弹伤害改为1800,为巨人作准备
Browse files Browse the repository at this point in the history
  • Loading branch information
wszqkzqk committed Apr 7, 2022
1 parent 21b0611 commit b6e0961
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/state/level.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,9 @@ def boomZombies(self, x, map_y, y_range, x_range):
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):
Expand Down

0 comments on commit b6e0961

Please sign in to comment.