Browse Source

feat(Component): general_battle add open buff when battle prepare

runhey 3 years ago
parent
commit
c00e194469
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tasks/Component/GeneralBattle/general_battle.py

+ 3 - 0
tasks/Component/GeneralBattle/general_battle.py

@@ -40,6 +40,9 @@ class GeneralBattle(GeneralBuff, GeneralBattleAssets):
             if self.current_count == 1:
             if self.current_count == 1:
                 self.switch_preset_team(config.preset_enable, config.preset_group, config.preset_team)
                 self.switch_preset_team(config.preset_enable, config.preset_group, config.preset_team)
 
 
+            # 打开buff
+            self.check_buff(buff)
+
             # 点击准备按钮
             # 点击准备按钮
             self.wait_until_appear(self.I_PREPARE_HIGHLIGHT)
             self.wait_until_appear(self.I_PREPARE_HIGHLIGHT)
             while 1:
             while 1: