mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 22:07:23 +08:00
Chore: Add MAP_CLEAR_PERCENTAGE_SHORT
This commit is contained in:
@@ -122,6 +122,7 @@ class ManualConfig:
|
|||||||
# Insert anything to STAGE_INCREASE
|
# Insert anything to STAGE_INCREASE
|
||||||
STAGE_INCREASE_CUSTOM = ''
|
STAGE_INCREASE_CUSTOM = ''
|
||||||
MAP_HAS_CLEAR_PERCENTAGE = True
|
MAP_HAS_CLEAR_PERCENTAGE = True
|
||||||
|
MAP_CLEAR_PERCENTAGE_SHORT = False
|
||||||
MAP_HAS_WALK_SPEEDUP = False
|
MAP_HAS_WALK_SPEEDUP = False
|
||||||
MAP_HAS_AMBUSH = True
|
MAP_HAS_AMBUSH = True
|
||||||
MAP_HAS_FLEET_STEP = False
|
MAP_HAS_FLEET_STEP = False
|
||||||
|
|||||||
@@ -319,7 +319,10 @@ class FastForwardHandler(AutoSearchHandler):
|
|||||||
Pages:
|
Pages:
|
||||||
in: MAP_PREPARATION
|
in: MAP_PREPARATION
|
||||||
"""
|
"""
|
||||||
return color_bar_percentage(self.device.image, area=MAP_CLEAR_PERCENTAGE.area, prev_color=(231, 170, 82))
|
percent = color_bar_percentage(self.device.image, area=MAP_CLEAR_PERCENTAGE.area, prev_color=(231, 170, 82))
|
||||||
|
if self.config.MAP_CLEAR_PERCENTAGE_SHORT:
|
||||||
|
percent *= 1.4
|
||||||
|
return percent
|
||||||
|
|
||||||
def campaign_name_increase(self, name):
|
def campaign_name_increase(self, name):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user