mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Fix: 修复一些bug
- 修复了收完菜后不重新检查潜艇的问题 - 修复了使用潜艇时, 经验结算卡住的问题 - 调整了日常委托和教材类委托的权重, 不然一天下来, 日常委托做不完
This commit is contained in:
@@ -247,27 +247,19 @@ class Combat(HPBalancer, UrgentCommissionHandler, EnemySearchingHandler, Retirem
|
||||
|
||||
return False
|
||||
|
||||
def handle_exp_info(self, save_get_items=False):
|
||||
def handle_exp_info(self):
|
||||
"""
|
||||
Args:
|
||||
save_get_items (bool):
|
||||
|
||||
Returns:
|
||||
bool:
|
||||
"""
|
||||
if save_get_items:
|
||||
return self.appear_then_click(EXP_INFO_CONFIRM, interval=self.battle_status_click_interval)
|
||||
else:
|
||||
if self.appear_then_click(EXP_INFO_S):
|
||||
if not save_get_items:
|
||||
self.device.sleep((0.25, 0.5))
|
||||
return True
|
||||
if self.appear_then_click(EXP_INFO_A):
|
||||
if not save_get_items:
|
||||
self.device.sleep((0.25, 0.5))
|
||||
return True
|
||||
if self.appear_then_click(EXP_INFO_S):
|
||||
self.device.sleep((0.25, 0.5))
|
||||
return True
|
||||
if self.appear_then_click(EXP_INFO_A):
|
||||
self.device.sleep((0.25, 0.5))
|
||||
return True
|
||||
|
||||
return False
|
||||
return False
|
||||
|
||||
def handle_get_ship(self, save_get_items=False):
|
||||
"""
|
||||
@@ -301,7 +293,7 @@ class Combat(HPBalancer, UrgentCommissionHandler, EnemySearchingHandler, Retirem
|
||||
continue
|
||||
if self.handle_popup_confirm():
|
||||
continue
|
||||
if self.handle_exp_info(save_get_items=save_get_items):
|
||||
if self.handle_exp_info():
|
||||
continue
|
||||
if self.handle_urgent_commission(save_get_items=save_get_items):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user