Ver código fonte

feat[BondingFairyland]: add 契灵换御魂

ljxun 2 anos atrás
pai
commit
b8cde2055b
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      tasks/BondlingFairyland/script_task.py

+ 6 - 0
tasks/BondlingFairyland/script_task.py

@@ -39,6 +39,12 @@ class ScriptTask(GameUi, BondlingBattle, SwitchSoul, BondlingFairylandAssets):
         # 引用配置
         # 引用配置
         cong = self.config.bondling_fairyland
         cong = self.config.bondling_fairyland
 
 
+        # 御魂切换方式一
+        if cong.switch_soul_config.enable:
+            self.ui_get_current_page()
+            self.ui_goto(page_shikigami_records)
+            self.run_switch_soul(cong.switch_soul_config.switch_group_team)
+          # 御魂切换方式二
         if cong.switch_soul_config.enable_switch_by_name:
         if cong.switch_soul_config.enable_switch_by_name:
             self.ui_get_current_page()
             self.ui_get_current_page()
             self.ui_goto(page_shikigami_records)
             self.ui_goto(page_shikigami_records)