Do
tap 135,1135 //普攻
Delay 200
tap 36,1236 //拾取键
Delay 200
tap 50,1020 //技能1
Delay 300
tap 36,1236 //拾取键
Delay 200
tap 135,1135 //普攻
Delay 200
tap 36,1236 //拾取键
Delay 200
tap 165,1000 //技能2
Delay 300
tap 36,1236 //拾取键
Delay 200
//回红
Dim 血条
血条 = CmpColorEx("655|230|000010,663|230|212029,650|230|102039|abcdef", 0.9)
If 血条 = 1 Then
TracePrint "需要回血了" & 血条
tap 150,888 //红瓶位置
Else
TracePrint "没到设定回血线"
End If
//回蓝
Dim 蓝条
蓝条 = CmpColorEx("636|120|000000,639|120|181818,633|120|101010|abcdef", 0.9)
If 蓝条 = 1 Then
TracePrint "需要回蓝了" & 蓝条
tap 58,888 //蓝瓶位置
Else
TracePrint "没到设定回蓝线"
End If
Loop
Sub 多线程1
Do
tap 260,1070 //技能3位置
TracePrint "我是技能3"
Delay 30000
Loop
End Sub
Sub 多线程2
Do
tap 270,1188 //技能4位置
TracePrint "我是技能4"
Delay 60000
Loop
End Sub