1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Optimize: 优化复刻苍红的回响C2和D3

- 修改了绿海时的地图设置覆盖
This commit is contained in:
LmeSzinc
2020-04-25 16:43:41 +08:00
parent f9b2a9358b
commit f5ee202934
8 changed files with 102 additions and 24 deletions

View File

@@ -180,6 +180,14 @@ class CampaignMap:
for loca, data in self._parse_text(text):
self[loca].weight = float(data)
@property
def is_map_data_poor(self):
if not self.select(may_enemy=True) or not self.select(may_boss=True) or not self.select(is_spawn_point=True):
return False
if not len(self._spawn_data_backup):
return False
return True
def show_cost(self):
logger.info(' ' + ' '.join([' ' + chr(x + 64 + 1) for x in range(self.shape[0] + 1)]))
for y in range(self.shape[1] + 1):