From 97223185de3fefd9996e95335053eea6587b70da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Wed, 13 Apr 2022 16:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E8=88=AC=E5=AD=90?= =?UTF-8?q?=E5=BC=B9=E7=9A=84=E6=94=BB=E5=87=BB=E7=B1=BB=E5=9E=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/state/level.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/state/level.py b/source/state/level.py index 83b856d..d3bc92b 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -588,7 +588,7 @@ class Level(tool.State): if bullet.state == c.FLY: zombie = pg.sprite.spritecollideany(bullet, self.zombie_groups[i], collided_func) if zombie and zombie.state != c.DIE: - zombie.setDamage(bullet.damage, bullet.ice) + zombie.setDamage(bullet.damage, bullet.ice, damageType=c.ZOMBIE_DEAFULT_DAMAGE) bullet.setExplode() def checkZombieCollisions(self):