Эх сурвалжийг харах

Merge pull request #322 from ljxun/Hunt

feat[Hunt]:判断麒麟阴界切换御魂
huangrunheng 2 жил өмнө
parent
commit
ff723f1a76

+ 7 - 4
tasks/Hunt/script_task.py

@@ -28,10 +28,13 @@ class ScriptTask(GameUi, GeneralBattle, GeneralInvite, SwitchSoul, HuntAssets):
         if con.kirin_group_team != '-1,-1' or con.netherworld_group_team != '-1,-1':
         if con.kirin_group_team != '-1,-1' or con.netherworld_group_team != '-1,-1':
             self.ui_get_current_page()
             self.ui_get_current_page()
             self.ui_goto(page_shikigami_records)
             self.ui_goto(page_shikigami_records)
-            if con.kirin_group_team != '-1,-1':
-                self.run_switch_soul(con.kirin_group_team)
-            if con.netherworld_group_team != '-1,-1':
-                self.run_switch_soul(con.netherworld_group_team)
+
+            if self.kirin_day:
+                if con.kirin_group_team != '-1,-1':
+                    self.run_switch_soul(con.kirin_group_team)
+            else:
+                if con.netherworld_group_team != '-1,-1':
+                    self.run_switch_soul(con.netherworld_group_team)
         self.ui_get_current_page()
         self.ui_get_current_page()
         self.ui_goto(page_hunt)
         self.ui_goto(page_hunt)