From 217c3b608ce4dde4310ecd4c930af9d9cbd88e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Mon, 2 May 2022 21:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E8=A1=A1=E9=9A=BE=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/state/level.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/state/level.py b/source/state/level.py index df95357..6276c40 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -123,10 +123,6 @@ class Level(tool.State): volume = int(int((wave + survivalRounds*20)*0.8)/2) + 1 zombieList = [] - # 传送带模式应当增大僵尸容量 - if (self.bar_type != c.CHOOSEBAR_STATIC): - volume += 2 - # 大波僵尸情况 if wave % 10 == 0: # 容量增大至2.5倍 @@ -135,6 +131,10 @@ class Level(tool.State): zombieList.append(c.FLAG_ZOMBIE) volume -= self.createZombieInfo[c.FLAG_ZOMBIE][0] + # 传送带模式应当增大僵尸容量 + if (self.bar_type != c.CHOOSEBAR_STATIC): + volume += 2 + if inevitableZombieDict and (str(wave) in inevitableZombieDict.keys()): for newZombie in inevitableZombieDict[str(wave)]: zombieList.append(newZombie)