From 43da630394c552b6d12f159d54357250a74124ee 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 17:40:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + source/component/plant.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e41d6a2..63749e1 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir * 给胜利和失败界面添加音乐 * 修复已经死亡的僵尸会触发大嘴花、土豆雷甚至小推车的问题 * 用蓝色滤镜标识冷冻的僵尸 +* 修复暂停游戏时仍在计时的bug ## 截屏 diff --git a/source/component/plant.py b/source/component/plant.py index 7c6cc12..3255e38 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -229,7 +229,7 @@ class Sun(Plant): self.sun_value = c.SUN_VALUE else: scale = 0.6 - self.sun_value = 12 + self.sun_value = 15 Plant.__init__(self, x, y, c.SUN, 0, None, scale) self.move_speed = 1 self.dest_x = dest_x @@ -756,7 +756,7 @@ class SunShroom(Plant): if not self.is_big: if self.change_timer == 0: self.change_timer = self.current_time - elif (self.current_time - self.change_timer) > 25000: + elif (self.current_time - self.change_timer) > 100000: self.changeFrames(self.big_frames) self.is_big = True