mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Opt: refactor meowfficer module; split across multiple files and inherit all at RewardMeowfficer
Add: meowfficer enhance, queue common first, and sr cat check then lock else skip feature
This commit is contained in:
17
module/meowfficer/base.py
Normal file
17
module/meowfficer/base.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from module.meowfficer.assets import *
|
||||
from module.ui.assets import MEOWFFICER_INFO
|
||||
from module.ui.ui import UI
|
||||
|
||||
|
||||
class MeowfficerBase(UI):
|
||||
def meow_additional(self):
|
||||
if self.appear_then_click(MEOWFFICER_INFO, offset=(30, 30), interval=3):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def handle_meow_popup_confirm(self):
|
||||
if self.appear_then_click(MEOWFFICER_CONFIRM, offset=(40, 20), interval=5):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
Reference in New Issue
Block a user