Просмотр исходного кода

feat[Hunt]:判断麒麟阴界切换御魂

ljxun 2 лет назад
Родитель
Сommit
eaa4fa12a0
1 измененных файлов с 7 добавлено и 4 удалено
  1. 7 4
      tasks/Hunt/script_task.py

+ 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)