Delay 100
For 10
LeftClick 1
Delay 600
EndFor
//将10只幻兽存入第2个仓库
Delay 300
Gosub 检测幻兽蛋是否购满6只
Else
Delay 1000
Gosub 检测第3个幻兽仓库
EndIf
Return 检测第2个幻兽仓库
Sub 检测第3个幻兽仓库
MoveTo 708,681
Delay 100
LeftClick 1
Delay 300
//重新打开VIP
MoveTo 499,492
Delay 100
LeftClick 1
Delay 1000
//打开第3个幻兽仓库
IfColor 105,256,000000,0
//检测第3个幻兽仓库是否已存有幻兽
MoveTo 985,69
Delay 100
For 10
LeftClick 1
Delay 600
EndFor
//将10只幻兽存入第3个仓库
Delay 300
Gosub 检测幻兽蛋是否购满6只
Else
Delay 1000
KeyPress 122,1
//仓库已满,结束脚本(停止收购)
EndIf
Return 检测第3个幻兽仓库
Sub 检测幻兽蛋是否购满6只
IfColor 957,419,000000,1
//检测幻兽蛋是否购满六只
Gosub 包裹已购满6只幻兽蛋现在进行存仓库
Else
Gosub 关闭幻兽仓库与幻兽包裹
Delay 100
EndIf
Return 检测幻兽蛋是否购满6只
Sub 关闭幻兽仓库与幻兽包裹
MoveTo 293,200
Delay 100
LeftClick 1
Delay 300
//关闭幻兽仓库
MoveTo 942,20
Delay 100
LeftClick 1
Delay 300
//关闭幻兽包裹
Return 关闭幻兽仓库与幻兽包裹
Sub 包裹已购满6只幻兽蛋现在进行存仓库
MoveTo 708,681
Delay 100
LeftClick 1
Delay 300
//重新打开VIP
MoveTo 499,522
Delay 100
LeftClick 1
Delay 1000
//打开第4个幻兽仓库
MoveTo 322,638
Delay 100
LeftClick 1
Delay 500
//点击按钮,转换到第4个仓库的第2页(存蛋为5只一存)
IfColor 105,256,000000,0
//检测第4个仓库第2页的第1格是否存有幻兽蛋
Gosub 存幻兽蛋
Gosub 关闭幻兽仓库与幻兽包裹
Else
MoveTo 708,681
Delay 100
LeftClick 1
Delay 300
//重新打开VIP
MoveTo 499,552
Delay 100
LeftClick 1
Delay 1000
//打开第5个幻兽仓库
MoveTo 322,638
Delay 100
LeftClick 1
Delay 500
//点击按钮,转换到第5个仓库的第2页(存蛋为5只一存)
IfColor 105,256,000000,0
//检测第5个仓库第2页的第1格是否存有幻兽蛋