增加指定波数生成僵尸的功能
This commit is contained in:
parent
721fb85827
commit
b72186c8a2
@ -4,6 +4,7 @@
|
|||||||
"shovel":1,
|
"shovel":1,
|
||||||
"spawn_zombies":"auto",
|
"spawn_zombies":"auto",
|
||||||
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
|
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
|
||||||
|
"inevitable_zombie_list":{"20":["BucketheadZombie"]},
|
||||||
"num_flags":3,
|
"num_flags":3,
|
||||||
"zombie_list":[
|
"zombie_list":[
|
||||||
{"time":20000, "name":"Zombie"},
|
{"time":20000, "name":"Zombie"},
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
"shovel":1,
|
"shovel":1,
|
||||||
"spawn_zombies":"auto",
|
"spawn_zombies":"auto",
|
||||||
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "FootballZombie"],
|
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "FootballZombie"],
|
||||||
|
"inevitable_zombie_list":{"20":["BucketheadZombie"], "30":["FootballZombie"]},
|
||||||
"num_flags":4,
|
"num_flags":4,
|
||||||
"zombie_list":[
|
"zombie_list":[
|
||||||
{"time":20000, "name":"Zombie"},
|
{"time":20000, "name":"Zombie"},
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
"spawn_zombies":"auto",
|
"spawn_zombies":"auto",
|
||||||
"num_flags":4,
|
"num_flags":4,
|
||||||
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
|
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
|
||||||
|
"inevitable_zombie_list":{"20":["BucketheadZombie"]},
|
||||||
"card_pool":[
|
"card_pool":[
|
||||||
{"name":"Peashooter"},
|
{"name":"Peashooter"},
|
||||||
{"name":"SnowPea"},
|
{"name":"SnowPea"},
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
"spawn_zombies":"auto",
|
"spawn_zombies":"auto",
|
||||||
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
|
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
|
||||||
"num_flags":4,
|
"num_flags":4,
|
||||||
|
"inevitable_zombie_list":{"20":["BucketheadZombie"]},
|
||||||
"card_pool":[
|
"card_pool":[
|
||||||
{"name":"WallNutBowling"},
|
{"name":"WallNutBowling"},
|
||||||
{"name":"RedWallNutBowling"}
|
{"name":"RedWallNutBowling"}
|
||||||
|
|||||||
@ -124,8 +124,8 @@ class Level(tool.State):
|
|||||||
volume = int(volume*2.5)
|
volume = int(volume*2.5)
|
||||||
zombieList = []
|
zombieList = []
|
||||||
|
|
||||||
if inevitableZombieDict and (wave in inevitableZombieDict.keys()):
|
if inevitableZombieDict and (str(wave) in inevitableZombieDict.keys()):
|
||||||
for newZombie in inevitableZombieDict[wave]:
|
for newZombie in inevitableZombieDict[str(wave)]:
|
||||||
zombieList.append(newZombie)
|
zombieList.append(newZombie)
|
||||||
volume -= self.createZombieInfo[newZombie][0]
|
volume -= self.createZombieInfo[newZombie][0]
|
||||||
if volume < 0:
|
if volume < 0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user