1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-31 01:54:11 +08:00

Opt: camera_data_spawn_point should reuse camera_data in W15

This commit is contained in:
LmeSzinc
2024-04-19 01:54:36 +08:00
parent 54ff40588c
commit 01a3c29c8b
4 changed files with 8 additions and 9 deletions

View File

@@ -64,12 +64,12 @@ class CampaignBase(CampaignBase_):
if not self.map[target].is_sea:
logger.error(f'{self.map[target]} is not a sea grid.')
movable = False
if not movable:
logger.error(f'Cannot move from {self.map[location]} to {self.map[target]}.')
return movable
def _mob_move(self, location, target):
"""
Move mob from location to target, and confirm if successfully moved.
@@ -174,4 +174,3 @@ class CampaignBase(CampaignBase_):
self._mob_move_info_change(location, target)
self.map.show()
return result