mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 17:55:56 +08:00
Fix: typo in condition, args state greater than or equal to configured tier
This commit is contained in:
@@ -94,7 +94,7 @@ class AshCombat(Combat):
|
|||||||
if self.appear(ASH_START, offset=(30, 30)):
|
if self.appear(ASH_START, offset=(30, 30)):
|
||||||
logger.info("Failed to start this ash beacon combat, select another beacon.")
|
logger.info("Failed to start this ash beacon combat, select another beacon.")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def combat(self, balance_hp=False, emotion_reduce=False, auto_mode='combat_auto', call_submarine_at_boss=False,
|
def combat(self, balance_hp=False, emotion_reduce=False, auto_mode='combat_auto', call_submarine_at_boss=False,
|
||||||
@@ -193,7 +193,7 @@ class OSAsh(UI):
|
|||||||
# Select beacon
|
# Select beacon
|
||||||
for _ in range(trial):
|
for _ in range(trial):
|
||||||
current = OCR_BEACON_TIER.ocr(self.device.image)
|
current = OCR_BEACON_TIER.ocr(self.device.image)
|
||||||
if current == tier:
|
if current >= tier:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
self.device.click(BEACON_NEXT)
|
self.device.click(BEACON_NEXT)
|
||||||
|
|||||||
Reference in New Issue
Block a user