Przeglądaj źródła

加回御魂十层换御魂

yEs1do 2 lat temu
rodzic
commit
4b974ce650
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 2 2
      tasks/Orochi/config.py
  2. 2 2
      tasks/Orochi/script_task.py

+ 2 - 2
tasks/Orochi/config.py

@@ -50,9 +50,9 @@ class SwitchSoulConfig(BaseSwitchSoulConfig):
     enable_switch_by_name: bool = Field(default=False, description='enable_switch_by_name_help')
     enable_switch_by_name: bool = Field(default=False, description='enable_switch_by_name_help')
     group_name: str = Field(default='')
     group_name: str = Field(default='')
     team_name: str = Field(default='')
     team_name: str = Field(default='')
-    auto_switch_soul: bool = Field(default=False, description='auto_switch_soul_help')
+    auto_switch_soul: bool = Field(default=False, description='auto_switch_soul_orochi_help')
     # 十层 config
     # 十层 config
-    # ten_switch: str = Field(default='-1,-1', description='ten_switch_help')
+    ten_switch: str = Field(default='-1,-1', description='ten_switch_help')
     # 悲鸣 config
     # 悲鸣 config
     eleven_switch: str = Field(default='-1,-1', description='eleven_switch_help')
     eleven_switch: str = Field(default='-1,-1', description='eleven_switch_help')
     # 神罚 config
     # 神罚 config

+ 2 - 2
tasks/Orochi/script_task.py

@@ -482,8 +482,8 @@ class ScriptTask(GeneralBattle, GeneralInvite, GeneralBuff, GeneralRoom, GameUi,
         group_team: str = None
         group_team: str = None
         layer = self.config.orochi.orochi_config.layer
         layer = self.config.orochi.orochi_config.layer
         match layer:
         match layer:
-            # case Layer.TEN:
-            #     group_team = orochi_switch_soul.ten_switch
+            case Layer.TEN:
+                group_team = orochi_switch_soul.ten_switch
             case Layer.ELEVEN:
             case Layer.ELEVEN:
                 group_team = orochi_switch_soul.eleven_switch
                 group_team = orochi_switch_soul.eleven_switch
             case Layer.TWELVE:
             case Layer.TWELVE: