mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Fix: FLEET_BOSS not work as expected
fleet_2 should be treated fleet_boss if and only if fleet_2 exists AND FLEET_BOSS == 2
This commit is contained in:
@@ -58,14 +58,14 @@ class Fleet(Camera, AmbushHandler):
|
||||
|
||||
@property
|
||||
def fleet_boss(self):
|
||||
if self.config.FLEET_BOSS == 2 or self.config.FLEET_2:
|
||||
if self.config.FLEET_BOSS == 2 and self.config.FLEET_2:
|
||||
return self.fleet_2
|
||||
else:
|
||||
return self.fleet_1
|
||||
|
||||
@property
|
||||
def fleet_boss_index(self):
|
||||
if self.config.FLEET_BOSS == 2 or self.config.FLEET_2:
|
||||
if self.config.FLEET_BOSS == 2 and self.config.FLEET_2:
|
||||
return 2
|
||||
else:
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user