平衡难度
This commit is contained in:
parent
506900d21c
commit
e010251b00
@ -126,7 +126,7 @@ class Level(tool.State):
|
||||
zombie_list.append(c.FLAG_ZOMBIE)
|
||||
zombie_volume -= c.CREATE_ZOMBIE_DICT[c.FLAG_ZOMBIE][0]
|
||||
|
||||
# 传送带模式应当增大僵尸容量
|
||||
# 保龄球模式应当增大僵尸容量
|
||||
if (self.bar_type != c.CHOOSEBAR_STATIC):
|
||||
zombie_volume += 2
|
||||
|
||||
@ -265,7 +265,7 @@ class Level(tool.State):
|
||||
c.SOUND_ZOMBIE_COMING.play()
|
||||
return
|
||||
if (self.wave_num % 10 != 9):
|
||||
if ((current_time - self.wave_time >= 25000 + random.randint(0, 6000)) or (self.bar_type != c.CHOOSEBAR_STATIC and current_time - self.wave_time >= 12500 + random.randint(0, 3000))):
|
||||
if ((current_time - self.wave_time >= 25000 + random.randint(0, 6000)) or (self.bar_type == c.CHOOSEBAR_BOWLING and current_time - self.wave_time >= 12500 + random.randint(0, 3000))):
|
||||
self.wave_num += 1
|
||||
self.wave_time = current_time
|
||||
self.wave_zombies = self.waves[self.wave_num - 1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user