mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 15:49:25 +08:00
Opt: Click interval on GET_SHIP
This commit is contained in:
@@ -375,8 +375,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
Returns:
|
||||
bool:
|
||||
"""
|
||||
if self.appear_then_click(GET_SHIP):
|
||||
if self.appear(NEW_SHIP, interval=1):
|
||||
if self.appear_then_click(GET_SHIP, interval=1):
|
||||
if self.appear(NEW_SHIP):
|
||||
logger.info('Get a new SHIP')
|
||||
if drop:
|
||||
drop.handle_add(self)
|
||||
|
||||
Reference in New Issue
Block a user