mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 07:37:19 +08:00
Fix: raid handle_exp_info
This commit is contained in:
@@ -421,12 +421,6 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
|||||||
if self.appear_then_click(EXP_INFO_B):
|
if self.appear_then_click(EXP_INFO_B):
|
||||||
self.device.sleep((0.25, 0.5))
|
self.device.sleep((0.25, 0.5))
|
||||||
return True
|
return True
|
||||||
if self.appear_then_click(EXP_INFO_C):
|
|
||||||
self.device.sleep((0.25, 0.5))
|
|
||||||
return True
|
|
||||||
if self.appear_then_click(EXP_INFO_D):
|
|
||||||
self.device.sleep((0.25, 0.5))
|
|
||||||
return True
|
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
from module.combat.assets import EXP_INFO_C, EXP_INFO_D
|
||||||
from module.combat.combat import Combat
|
from module.combat.combat import Combat
|
||||||
from module.guild.assets import BATTLE_STATUS_CF, EXP_INFO_CF
|
from module.guild.assets import BATTLE_STATUS_CF, EXP_INFO_CF
|
||||||
|
|
||||||
@@ -48,6 +49,12 @@ class RaidCombat(Combat):
|
|||||||
return False
|
return False
|
||||||
if super().handle_exp_info():
|
if super().handle_exp_info():
|
||||||
return True
|
return True
|
||||||
|
if self.appear_then_click(EXP_INFO_C):
|
||||||
|
self.device.sleep((0.25, 0.5))
|
||||||
|
return True
|
||||||
|
if self.appear_then_click(EXP_INFO_D):
|
||||||
|
self.device.sleep((0.25, 0.5))
|
||||||
|
return True
|
||||||
if self.appear_then_click(EXP_INFO_CF):
|
if self.appear_then_click(EXP_INFO_CF):
|
||||||
self.device.sleep((0.25, 0.5))
|
self.device.sleep((0.25, 0.5))
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user