diff --git a/resources/data/map/level_8.json b/resources/data/map/level_8.json index e044e90..006b1d1 100644 --- a/resources/data/map/level_8.json +++ b/resources/data/map/level_8.json @@ -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 } diff --git a/source/state/level.py b/source/state/level.py index 80bf8e6..b5cb83b 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -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]