更改生成僵尸类型

This commit is contained in:
星外之神 2022-07-27 11:03:22 +08:00
parent a37cd228bd
commit bf2e74d808
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
"init_sun_value":50,
"shovel":1,
"spawn_zombies":"auto",
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "FootballZombie"],
"inevitable_zombie_list":{"20":["BucketheadZombie"], "30":["FootballZombie"]},
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "SnorkelZombie"],
"inevitable_zombie_list":{"20":["BucketheadZombie"], "30":["SnorkelZombie"]},
"num_flags":4
}

View File

@ -149,7 +149,7 @@ class Level(tool.State):
zombieList.append(newZombie)
volume -= c.CREATE_ZOMBIE_DICT[newZombie][0]
if volume < 0:
print('警告:第{}波中手动设置的僵尸级别总数超过上限!'.format(wave))
print(f'警告:第{wave}波中手动设置的僵尸级别总数超过上限!')
# 防止因为僵尸最小等级过大,使得总容量无法完全利用,造成死循环的检查机制
minCost = c.CREATE_ZOMBIE_DICT[min(useableZombies, key=lambda x:c.CREATE_ZOMBIE_DICT[x][0])][0]