-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path阴阳寮挑战.Q
237 lines (216 loc) · 4.04 KB
/
阴阳寮挑战.Q
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
[General]
SyntaxVersion=2
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
MacroID=02943844-cc78-45c2-91b1-3cfed8070496
Description=阴阳寮挑战
Enable=1
AutoRun=0
[Repeat]
Type=0
Number=1
[SetupUI]
Type=2
QUI=
[Relative]
SetupOCXFile=
[Comment]
[Script]
count = 0
For 1000000
//我很忙
intX2 = 0
FindColor 543,397,632,430,"5169DD",intX2,intY2
If intX2 > 0 And intY2 > 0 Then
MoveTo intX2, intY2
Delay 1000
LeftClick 1
End If
//3号寨子
intX = 0
FindColor 393,460,393,460,"99B2CA",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
//选人
intX = 0
FindColor 785,179,785,179,"B1C1CA",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//攻击
intX = 0
FindColor 777,266,777,266,"416E91",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
End If
MoveTo 559, 326
LeftClick 1
Delay 2000
//1号寨子
intX = 0
FindColor 393,195,393,195,"99B2CA",intX,intY
/*If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
//选人
intX = 0
FindColor 764,460,764,460,"B1C1CA",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//攻击
intX = 0
FindColor 759,549,759,549,"5FB2F4",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
End If*/
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
//选人
intX = 0
FindColor 785,179,785,179,"B1C1CA",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//攻击
intX = 0
FindColor 777,266,777,266,"416E91",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
End If
MoveTo 559, 326
LeftClick 1
Delay 2000
//2号寨子
intX = 0
FindColor 393,315,393,315,"99B2CA",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
//选人
intX = 0
FindColor 785,179,785,179,"B1C1CA",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//攻击
intX = 0
FindColor 777,266,777,266,"416E91",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
End If
MoveTo 559, 326
LeftClick 1
Delay 2000
//准备
intX = 0
FindColor 1120,549,1120,549,"77A8CB",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//收东西
FindColor 558,165,558,165,"111A80",intX2,intY2
If intX2 > 0 And intY2 > 0 Then
SayString 退出来
MoveTo 679, 317
Delay 2000
LeftClick 1
Delay 3000
LeftClick 1
Delay 3000
LeftClick 1
Delay 3000
LeftClick 1
Delay 3000
LeftClick 1
Delay 3000
LeftClick 1
End If
If count mod 2 = 0 Then
Delay 5000
//×
intX = 0
FindColor 1135,113,1135,113,"CED6E7",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//结界突破
intX = 0
FindColor 491,668,491,668,"9CABB2",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
//寮子
intX = 0
FindColor 1158, 337, 1158, 337, "283F60", intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
Delay 5000
End If
//我很忙
intX = 0
FindColor 520, 406, 634, 431, "5169DD", intX, intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Delay 2000
End If
Next