魔女回忆脚本

// 魔女回忆副本脚本说明: //

// 进图就点自动按钮,随意 //

// 游戏内设置:相机高度(高) //

// 金币效率:25金币每分钟 //

// qq群号码:236977679 //

Dim 金币上限是否自动停止="是"

Dim 金币上限是否关闭游戏="否"

Dim 是否相等,i=0,X,Y

SetScreenScale 1080,1920,0

Do

'监视是否位于闯关界面

For 3

Tap 356,960

Tap 217,821

Tap 130,1600

是否相等 = CmpColor(133 ,1444 ,"1FA0E9",0.9)

Do Until 是否相等 = -1

Tap 141,1404

Delay 1000

Tap 384,1017

是否相等 = CmpColor(133 ,1444 ,"1FA0E9",0.9)

Loop

Delay 3000

If (CmpColor(306, 1317, "401FAB", 0.9) > -1) Then //n小时提醒跳过

Tap 306, 1317

End If

Next

//监视自动按钮是否存在

For 5

Do

Delay 500

FindMultiColor 0,0,0,0,"FFCE35","-12|-6|9E5C1A,-22|-7|9E5C1A,-22|50|9E5C1A,-10|61|9E5C1A,-1|43|FFCE35,-11|41|9E5C1A",0,0.9,X,Y

If X = -1 And Y = -1 Then

Tap 1018,1794

End If

Loop While X = -1 And Y = -1

Next

是否相等 = CmpColor(133 ,1444 ,"1FA0E9",0.9)

Do Until 是否相等 > -1

Tap 141 ,1404

Delay 200

Tap 130,1600

是否相等 = CmpColor(133 ,1444 ,"1FA0E9",0.9)

Loop

i = i + 1

ShowMessage "累计获得金币:" & i*19 & "耗时:" & Fix(TickCount() / 1000 / 60 ) & "分" & TickCount() / 1000 - Fix(TickCount() / 1000 / 60 )*60 & "秒",3000,0,0

If 金币上限是否自动停止="是" Then

If 是否相等 = CmpColor(477 ,1800 ,"E7DFCF",0.9) Then

ShowMessage "金币已达上限,脚本自动停止,若需要刷经验,请重新设置脚本"

If 金币上限是否关闭游戏="是" Then

KillApp "com.tencent.tmgp.sgame"

EndScript

End If

Delay 3000

EndScript

End If

End If

Loop

你可能感兴趣的:(魔女回忆脚本)