From 0bfb48ea7c3192e089eed169cb68688cf9e528aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Sat, 14 May 2022 14:39:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E8=A6=81=E6=B1=82=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- source/component/plant.py | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ce3c0e7..1c16062 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ ## 环境要求 -* `Python` >= 3.7 -* `Python-Pygame` >= 1.9 +* `Python` >= 3.7,最好使用最新版 +* `Python-Pygame` >= 1.9,最好使用最新版 ## 开始游戏 @@ -59,8 +59,8 @@ python main.py ## Windows单文件封装 编译依赖: -- `Python` >= 3.7 -- `Python-Pygame` >= 1.9 +- `Python` >= 3.7,最好使用最新版 +- `Python-Pygame` >= 1.9,最好使用最新版 - `Nuitka` - `MinGW-w64`(或其他C编译器) - `ccache` diff --git a/source/component/plant.py b/source/component/plant.py index e0729d4..5518aab 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -1723,4 +1723,6 @@ class IceFrozenPlot(Plant): if self.timer == 0: self.timer = self.current_time elif self.current_time - self.timer >= 30000: - self.health = 0 \ No newline at end of file + self.health = 0 + +