mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-29 02:25:31 +08:00
Add: Logic fleet_2_rescue, Logic for chapter 3
- Fix camera outside map caused by info bar - Fix mis-detection of is_caught_by_siren - Fix grid attribute is_caught_by_siren will be kept to next attack - Fix find_current_fleet when ammo icon of another fleet is covered by the green arrow of current fleet - Fix fleet_boss_index - Fix can not predict when boss appear on fleet's face
This commit is contained in:
@@ -15,10 +15,10 @@ MAP.map_data = '''
|
||||
SP ME -- -- ME MM -- ++
|
||||
'''
|
||||
MAP.weight_data = '''
|
||||
50 50 50 30 30 20 10 10
|
||||
50 50 50 30 30 20 10 09
|
||||
50 50 40 40 30 20 10 10
|
||||
50 50 50 40 40 20 20 20
|
||||
50 50 50 50 35 30 30 30
|
||||
50 50 50 40 40 50 20 20
|
||||
50 50 50 50 35 50 50 50
|
||||
'''
|
||||
MAP.spawn_data = [
|
||||
{'battle': 0, 'enemy': 2, 'mystery': 1},
|
||||
@@ -38,11 +38,17 @@ class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
def battle_0(self):
|
||||
self.fleet_2_push_forward()
|
||||
|
||||
if self.fleet_2_rescue(H1):
|
||||
return True
|
||||
|
||||
self.clear_all_mystery()
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
def battle_3(self):
|
||||
# print(H1.__dict__)
|
||||
self.clear_all_mystery()
|
||||
|
||||
if not self.check_accessibility(H1, fleet='boss'):
|
||||
|
||||
Reference in New Issue
Block a user