平衡传送带关难度

This commit is contained in:
星外之神 2022-05-01 11:10:48 +08:00
parent 37e3550af6
commit 4afe2f5d3e
5 changed files with 10 additions and 3 deletions

View File

@ -99,6 +99,7 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir
* 目前的设想与原版不同,在完成两轮冒险模式(初始冒险模式 + 戴夫选关的冒险模式)后可以自主选关~~(当然现在只是画饼)~~ * 目前的设想与原版不同,在完成两轮冒险模式(初始冒险模式 + 戴夫选关的冒险模式)后可以自主选关~~(当然现在只是画饼)~~
* 更改僵尸生成方式 * 更改僵尸生成方式
* 使僵尸生成更随机化由JSON记录改为随机数生成 * 使僵尸生成更随机化由JSON记录改为随机数生成
* 已完成大体框架
* 使用原版设定每面旗帜出10波僵尸9个小波1个大波 * 使用原版设定每面旗帜出10波僵尸9个小波1个大波
* 采用手机版设定无尽模式没有红眼计数和变速设定每波红眼权重为1000平均分布 * 采用手机版设定无尽模式没有红眼计数和变速设定每波红眼权重为1000平均分布
* 增加僵尸死亡后有概率掉落奖励的机制 * 增加僵尸死亡后有概率掉落奖励的机制

View File

@ -3,7 +3,7 @@
"choosebar_type":1, "choosebar_type":1,
"shovel":1, "shovel":1,
"spawn_zombies":"auto", "spawn_zombies":"auto",
"num_flags":4, "num_flags":3,
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"], "included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"],
"inevitable_zombie_list":{"20":["BucketheadZombie"]}, "inevitable_zombie_list":{"20":["BucketheadZombie"]},
"card_pool":[ "card_pool":[

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -164,10 +164,12 @@ FROZEN_INDEX = 3
MOVEBAR_CARD_FRESH_TIME = 6000 MOVEBAR_CARD_FRESH_TIME = 6000
CARD_MOVE_TIME = 60 CARD_MOVE_TIME = 60
# 植物相关信息 # 其他显示物
PLANT_IMAGE_RECT = 'plant_image_rect'
CAR = 'car' CAR = 'car'
SUN = 'Sun' SUN = 'Sun'
HUGE_WAVE_APPROCHING = 'Approching'
# 植物相关信息
PLANT_IMAGE_RECT = 'plant_image_rect'
# 植物名称 # 植物名称
SUNFLOWER = 'SunFlower' SUNFLOWER = 'SunFlower'
PEASHOOTER = 'Peashooter' PEASHOOTER = 'Peashooter'

View File

@ -123,6 +123,10 @@ 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 = min(max(int(volume*1.5), volume + 2), volume + 20)
# 大波僵尸情况 # 大波僵尸情况
if wave % 10 == 0: if wave % 10 == 0:
# 容量增大至2.5倍 # 容量增大至2.5倍