|
|
@@ -0,0 +1,40 @@
|
|
|
+# This Python file uses the following encoding: utf-8
|
|
|
+# @author runhey
|
|
|
+# github https://github.com/runhey
|
|
|
+from cached_property import cached_property
|
|
|
+
|
|
|
+from module.exception import TaskEnd
|
|
|
+from module.logger import logger
|
|
|
+from module.base.timer import Timer
|
|
|
+
|
|
|
+from tasks.GameUi.game_ui import GameUi
|
|
|
+from tasks.GameUi.page import page_main, page_soul_zones, page_shikigami_records
|
|
|
+from tasks.Component.GeneralBattle.general_battle import GeneralBattle
|
|
|
+from tasks.Component.GeneralBattle.config_general_battle import GeneralBattleConfig
|
|
|
+from tasks.Component.GeneralRoom.general_room import GeneralRoom
|
|
|
+from tasks.Component.GeneralInvite.general_invite import GeneralInvite
|
|
|
+from tasks.Component.SwitchSoul.switch_soul import SwitchSoul
|
|
|
+from tasks.EternitySea.assets import EternitySeaAssets
|
|
|
+
|
|
|
+class ScriptTask(GameUi, GeneralBattle, GeneralRoom, GeneralInvite, SwitchSoul, EternitySeaAssets):
|
|
|
+
|
|
|
+ def run(self):
|
|
|
+ con = self.config.eternity_sea.eternity_sea_config
|
|
|
+ self.ui_get_current_page()
|
|
|
+ self.ui_goto(page_soul_zones)
|
|
|
+
|
|
|
+ self.set_next_run(task='EternitySea', success=True, finish=False)
|
|
|
+ raise TaskEnd('EternitySea')
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+if __name__ == '__main__':
|
|
|
+ from module.config.config import Config
|
|
|
+ from module.device.device import Device
|
|
|
+ c = Config('oas1')
|
|
|
+ d = Device(c)
|
|
|
+ t = ScriptTask(c, d)
|
|
|
+ t.screenshot()
|
|
|
+
|
|
|
+ t.run()
|