def Combat_34e(): # 选择关卡 CombatWindow.ChooseLevel(4) # 点击机场 Airport() Delay(1, 2) # 点击确定,部署打手队 CombatWindow.Deploy_Confirm() # 点击指挥部 Headquarters() Delay(1, 2) # 点击确定,部署狗粮队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() # 点击梯队2次 Airport() Delay(1, 2) Airport() Delay(1, 2) # 补充弹药 CombatWindow.Supply() # 进入计划模式 CombatWindow.PlanMode() # 规划路径 pot1() Delay(0, 1) pot2() Delay(0, 1) # 执行计划 CombatWindow.Plan_Confirm() Delay(2, 4) #TODO
def Combat_34n(): # 选择关卡 CombatWindow.ChooseLevel(4) # 部署梯队 # 点击指挥部 Headquarters_1() Delay(1, 2) # 点击确定,部署主力队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() round1() round2()
def Combat_46(): # 选择关卡 CombatWindow.ChooseLevel(6) # 向上拖动 moveTo(randint(627, 1715), randint(200, 450)) dragRel(randint(-50, 50), randint(800, 900), 0.5) Delay(0, 1) # 点击机场 Airport() Delay(1, 2) # 点击确定,部署打手队 CombatWindow.Deploy_Confirm() # 点击指挥部 Headquarters() Delay(1, 2) # 点击确定,部署狗粮队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() # 点击梯队2次 Airport() Delay(1, 2) Airport() Delay(1, 2) # 补充弹药 CombatWindow.Supply() # 进入计划模式 CombatWindow.PlanMode() pot1() Delay(1, 2) # 执行计划 CombatWindow.Plan_Confirm() # 等待 Delay(100, 102) # 结束回合 CombatWindow.Round_End() Delay(12, 14) # 结算动画 CombatWindow.Combat_Animation()
def Combat_64e(): # 选择关卡 CombatWindow.ChooseLevel(4) # 点击指挥部 Headquarters_1() Delay(1, 2) # 部署主力队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() round1() round2() round3() round4() round5() round6() round7()
def Combat_26(): # 选择关卡 CombatWindow.ChooseLevel(6) # 点击指挥部 Headquarters() Delay(1, 2) # 点击确定,部署第一梯队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() # 点击梯队2次 Headquarters() Delay(1, 2) Headquarters() Delay(1, 2) # 补充弹药 CombatWindow.Supply() # 进入计划模式 CombatWindow.PlanMode() # 规划路径 pot1() Delay(1, 2) pot2() Delay(1, 2) # 执行计划 CombatWindow.Plan_Confirm() # 等待 Delay(94, 96) # 结束回合 CombatWindow.Round_End() Delay(12, 14) # 结算动画 CombatWindow.Combat_Animation()
def Combat_16(): # 选择关卡 CombatWindow.ChooseLevel(6) # 点击普通作战 CombatWindow.NormalCombat() # 点击指挥部 Headquarters() Delay(2, 4) # 点击确定,部署第一梯队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() # 点击梯队2次 Headquarters() Delay(2, 4) Headquarters() Delay(2, 4) # 补充弹药 CombatWindow.Supply() # 进入计划模式 CombatWindow.PlanMode() # 规划路径 pot1() Delay(2, 4) # 执行计划 CombatWindow.Plan_Confirm() # 等待 Delay(70, 75) # 结束回合 CombatWindow.Round_End() Delay(25, 27) # 结算动画 click(randint(1200, 1500), randint(600, 750)) Delay(2, 4) click(randint(1200, 1500), randint(600, 750)) Delay(2, 4) # 点击梯队2次 Airport() Delay(2, 4) Airport() Delay(2, 4) # 补充弹药 CombatWindow.Supply() # 进入计划模式 CombatWindow.PlanMode() # 规划路径 pot2() Delay(2, 4) pot3() Delay(2, 4) # 执行计划 CombatWindow.Plan_Confirm() # 等待 Delay(120, 122) click(randint(1200, 1500), randint(600, 750)) Delay(2, 4) # 结束回合 CombatWindow.Round_End() Delay(12, 14) # 结算动画 CombatWindow.Combat_Animation()
def Combat_02(current_times): # 选择关卡 CombatWindow.ChooseLevel(2) # 交换打手 # 点击指挥部 Headquarters() Delay(1, 2) # 点击队伍编成 CombatWindow.Team_Form() # 交换打手 FormationWindow.ChooseFigure(3) FormationWindow.FigureKindDisplay('AR', True) if current_times % 2 == 0:# 偶数次 HK416 FormationWindow.Figure(2, 1) else:# 奇数次 RFB FormationWindow.Figure(1, 5) Delay(1, 2) # 返回 general.Cancel() # 部署梯队 # 点击指挥部 Headquarters() Delay(1, 2) # 点击确定,部署打手队 CombatWindow.Deploy_Confirm() # 点击机场 Airport() Delay(1, 2) # 点击确定,部署狗粮 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() # 点击狗粮2次 Airport() Delay(1, 2) Airport() Delay(1, 2) # 补充弹药 CombatWindow.Supply() # 随意点击 CombatWindow.Choose_Cancel() # 进入计划模式 CombatWindow.PlanMode() # 点击打手队 Headquarters() Delay(1, 2) # 规划路径 pot1() Delay(1, 2) pot2() Delay(1, 2) # 执行计划 CombatWindow.Plan_Confirm() # 等待 if current_times % 2 == 0:# 偶数次 HK416 Delay(193, 194) else:# 奇数次 RFB Delay(197, 198) # 结束回合 CombatWindow.Round_End() Delay(12, 14) # 结算动画 CombatWindow.Combat_Animation()
def Combat_44e(current_times): # 选择关卡 CombatWindow.ChooseLevel(4) # 交换打手 # 点击指挥部 click(randint(1244, 1281), randint(520, 566)) Delay(1, 2) # 点击队伍编成 CombatWindow.Team_Form() # 交换打手TODO if current_times % 2 == 0: # 偶数次 15 # 点击3号位打手 FormationWindow.ChooseFigure(3) # 选择替补1 FormationWindow.Figure(1, 4) else: # 奇数次 M4 # 点击3号位打手 FormationWindow.ChooseFigure(3) # 选择替补1 FormationWindow.Figure(1, 3) # 返回 general.Cancel() # 向上拖动 moveTo(randint(627, 1715), randint(200, 450)) dragRel(randint(-50, 50), randint(800, 900), 0.5) Delay(0, 1) # 点击机场 Airport() Delay(1, 2) # 点击确定,部署打手队 CombatWindow.Deploy_Confirm() # 点击指挥部 Headquarters() Delay(1, 2) # 点击确定,部署狗粮队 CombatWindow.Deploy_Confirm() # 开始作战 CombatWindow.Combat_Start() # 点击梯队2次 Headquarters() Delay(1, 2) Headquarters() Delay(1, 2) # 补充弹药 CombatWindow.Supply() # 随意点击 click(randint(1300, 1700), randint(750, 900)) Delay(0, 1) # 进入计划模式 CombatWindow.PlanMode() # 规划路径 Airport() Delay(1, 2) pot1() Delay(1, 2) # 执行计划 CombatWindow.Plan_Confirm() # 等待 Delay(97, 100) # 结束回合 CombatWindow.Round_End() Delay(12, 14) # 结算动画 CombatWindow.Combat_Animation()