mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 10:58:21 +08:00
Transform GEMS_AUTO_SEARCH_FARMING
to ENABLE_AUTO_SEARCH
This commit is contained in:
@@ -211,12 +211,12 @@ class FleetPreparation(ModuleBase):
|
||||
def check_flag_ship_level(self):
|
||||
'''
|
||||
check flag ship level
|
||||
turn LV32_TRIGGERED true if in GEMS_AUTO_SEARCH_FARMING
|
||||
turn LV32_TRIGGERED true if in ENABLE_AUTO_SEARCH
|
||||
'''
|
||||
level_ocr = LevelOcr(buttons=FLEET_1_FLAG_SHIP_LEVEL, name='FLAG SHIP LEVEL')
|
||||
flag_ship_level = level_ocr.ocr(self.device.image)
|
||||
|
||||
if self.config.GEMS_AUTO_SEARCH_FARMING:
|
||||
if self.config.ENABLE_AUTO_SEARCH:
|
||||
if flag_ship_level > 32:
|
||||
self.config.LV32_TRIGGERED = True
|
||||
self.config.GEMS_LEVEL_CHECK = False
|
||||
|
||||
Reference in New Issue
Block a user