1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-20 01:32:50 +08:00

Add: Tower of Transcendence chapter BD

- Fix: BATTLE_STATUS_B was clicked after EXP_INFO
- Fix: STORY_SKIP offset
- Fix: One-time stages in stage auto increase
This commit is contained in:
LmeSzinc
2021-12-30 17:42:55 +08:00
parent 8e790b3340
commit e89d07da12
22 changed files with 793 additions and 16 deletions

View File

@@ -10,3 +10,21 @@ class CampaignBase(CampaignBase_):
'SP1 > SP2 > SP3 > SP4',
'T1 > T2 > T3 > T4',
]
def handle_clear_mode_config_cover(self):
super().handle_clear_mode_config_cover()
self.config.MAP_HAS_MISSILE_ATTACK = True
def round_battle(self, after_battle=True):
"""
Call this method after cleared an enemy.
"""
super().round_battle()
new = {0: 0}
for spawn_round, count in self.enemy_round.items():
new[0] += count
if after_battle:
new[0] = max(new[0] - 1, 0)
self.enemy_round = new
from module.logger import logger
logger.info(f'Enemy round: {new}')