更改僵尸死亡后存在时间
This commit is contained in:
parent
6bcae32dc9
commit
c0db550d67
@ -83,6 +83,7 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir
|
|||||||
### 短期
|
### 短期
|
||||||
|
|
||||||
* 给胜利和失败界面添加音乐
|
* 给胜利和失败界面添加音乐
|
||||||
|
* 修复已经死亡的僵尸会触发大嘴花、土豆雷甚至小推车的问题
|
||||||
|
|
||||||
## 截屏
|
## 截屏
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class Zombie(pg.sprite.Sprite):
|
|||||||
self.hit_timer = 0
|
self.hit_timer = 0
|
||||||
self.speed = 1
|
self.speed = 1
|
||||||
self.freeze_timer = 0
|
self.freeze_timer = 0
|
||||||
self.dead_timer = 4800
|
self.dead_timer = 2800
|
||||||
self.losthead_timer = 0
|
self.losthead_timer = 0
|
||||||
self.is_hypno = False # the zombie is hypo and attack other zombies when it ate a HypnoShroom
|
self.is_hypno = False # the zombie is hypo and attack other zombies when it ate a HypnoShroom
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user