diff --git a/README.md b/README.md index bc1d1f2..3a5ac38 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **本项目为个人python语言学习的练习项目,仅供个人学习和研究使用,不得用于其他用途。如果这个游戏侵犯了版权,请联系我删除** * 已有的植物:向日葵,豌豆射手,坚果墙,寒冰射手,樱桃炸弹,三线射手,大嘴花,小喷菇,土豆雷,地刺,胆小菇,倭瓜,火爆辣椒,阳光菇,寒冰菇,魅惑菇,火炬树桩,睡莲,杨桃 -* 已有的僵尸:普通僵尸,旗帜僵尸,路障僵尸,铁桶僵尸,读报僵尸 +* 已有的僵尸:普通僵尸,旗帜僵尸,路障僵尸,铁桶僵尸,读报僵尸,橄榄球僵尸 * 使用 JSON 格式的文件存储进度数据 (例如僵尸出现的位置和时间,背景信息) * 支持选择植物卡片 * 支持白昼模式,夜晚模式,泳池模式(暂不完善),传送带模式和坚果保龄球模式 diff --git a/source/component/plant.py b/source/component/plant.py index 322b598..a4ee7ab 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -129,6 +129,7 @@ class StarBullet(Bullet): self.damage = damage self.state = c.FLY self.current_time = 0 + self.passedTorchWood = None def loadFrames(self, frames, name): frame_list = tool.GFX[name] diff --git a/source/component/zombie.py b/source/component/zombie.py index c310a02..f55d837 100755 --- a/source/component/zombie.py +++ b/source/component/zombie.py @@ -542,7 +542,7 @@ class FootballZombie(Zombie): self.speed = 1.88 self.animate_interval = 50 self.walk_animate_interval = 50 - self.attack_animate_interval = 50 + self.attack_animate_interval = 60 self.lostHead_animate_interval = 50 self.die_animate_interval = 50