From c0db550d672019b54f8375a0dd897cdf48ff04ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Tue, 5 Apr 2022 10:53:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=83=B5=E5=B0=B8=E6=AD=BB?= =?UTF-8?q?=E4=BA=A1=E5=90=8E=E5=AD=98=E5=9C=A8=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + source/component/zombie.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c01bff2..f037f34 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir ### 短期 * 给胜利和失败界面添加音乐 +* 修复已经死亡的僵尸会触发大嘴花、土豆雷甚至小推车的问题 ## 截屏 diff --git a/source/component/zombie.py b/source/component/zombie.py index 46499a2..f3b83d9 100755 --- a/source/component/zombie.py +++ b/source/component/zombie.py @@ -36,7 +36,7 @@ class Zombie(pg.sprite.Sprite): self.hit_timer = 0 self.speed = 1 self.freeze_timer = 0 - self.dead_timer = 4800 + self.dead_timer = 2800 self.losthead_timer = 0 self.is_hypno = False # the zombie is hypo and attack other zombies when it ate a HypnoShroom