-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoss.vb
102 lines (58 loc) · 1.07 KB
/
Boss.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Dim width,height
width = GetScreenX()
height = GetScreenY()
Dim scaleX, scaleY
scaleX = width / 1334
scaleY = height / 750
Tap 50, 643
Delay 1000
Tap 204,810
Delay 4000
Do
For i = 1 To 1000
TracePrint i
Dim health1X,health1Y
FindMultiColor 679,122,696,391,"46DE7C","",0,0.9,health1X,health1Y
If health1X > -1 And health1Y > -1 Then
Exit For
End If
Delay 100
Next
Delay 200
Tap 60, 1168
Delay 500
Tap 60, 1168
Delay 200
For i = 1 To 1000
Tap 386, 1246
Delay 1000
Dim OK1X,OK1Y
FindMultiColor 679,122,696,391,"46DE7C","",0,0.9,OK1X,OK1Y
If OK1X <= -1 And OK1Y <= -1 Then
Exit For
End If
Next
Delay 3000
For i = 1 To 1000
TracePrint i
Dim health2X,health2Y
FindMultiColor 679,122,696,391,"46DE7C","",0,0.9,health2X,health2Y
If health2X > -1 And health2Y > -1 Then
Exit For
End If
Delay 100
Next
Delay 4000
For i = 1 To 1000
Dim OK2X,OK2Y
FindColor 167,638,182,652,"767676",0,0.9,OK2X,OK2Y
If OK2X > -1 And OK2Y > -1 Then
Exit For
End If
Delay 100
Next
Tap 175, 645
Delay 1000
Tap 203, 807
Delay 4000
Loop