平衡难度

This commit is contained in:
星外之神 2022-05-02 21:49:20 +08:00
parent 7746db315d
commit 217c3b608c

View File

@ -123,10 +123,6 @@ class Level(tool.State):
volume = int(int((wave + survivalRounds*20)*0.8)/2) + 1 volume = int(int((wave + survivalRounds*20)*0.8)/2) + 1
zombieList = [] zombieList = []
# 传送带模式应当增大僵尸容量
if (self.bar_type != c.CHOOSEBAR_STATIC):
volume += 2
# 大波僵尸情况 # 大波僵尸情况
if wave % 10 == 0: if wave % 10 == 0:
# 容量增大至2.5倍 # 容量增大至2.5倍
@ -135,6 +131,10 @@ class Level(tool.State):
zombieList.append(c.FLAG_ZOMBIE) zombieList.append(c.FLAG_ZOMBIE)
volume -= self.createZombieInfo[c.FLAG_ZOMBIE][0] volume -= self.createZombieInfo[c.FLAG_ZOMBIE][0]
# 传送带模式应当增大僵尸容量
if (self.bar_type != c.CHOOSEBAR_STATIC):
volume += 2
if inevitableZombieDict and (str(wave) in inevitableZombieDict.keys()): if inevitableZombieDict and (str(wave) in inevitableZombieDict.keys()):
for newZombie in inevitableZombieDict[str(wave)]: for newZombie in inevitableZombieDict[str(wave)]:
zombieList.append(newZombie) zombieList.append(newZombie)