104關卡腳本
bs千萬不要移動
//BS600X1066
//移動104關卡地圖(水平位置拉至最右,垂直位置拉至中間)
LockMouse
Rem STEP1
IfColor 518,73,"D6FFFF",0 Then
//移動到左邊第一根羽毛518, 73
MoveTo 518, 73
Delay 1000
//進入關卡
MoveTo 316, 330
Delay 500
LeftClick 1
Delay 2000
Rem STEP3
IfColor 501,536,"CBBC0A",0 Then
//下一步
MoveTo 501, 536
Delay 500
LeftClick 1
Delay 500
IfColor 578,556,"32C205",0 Then
//開始
MoveTo 578, 556
Delay 1000
LeftClick 1
Delay 6000
End If
Else
Delay 500
LeftClick 1
Goto STEP3
End If
Rem STEP2
//遇到死亡!!回到起初
IfColor 547,237,"0079FB",0 Then
//停止
Delay 1000
MoveTo 614, 421
Delay 500
LeftClick 1
Delay 4000
//確定
MoveTo 646, 529
Delay 500
LeftClick 1
Delay 500
Goto STEP1
Else
//檢測是否過關再循環
IfColor 518,73,"D6FFFF",0 Then
Goto STEP1
Else
//獲得寶物
Rem STEP4
IfColor 588,516,"32C205",0 Then
MoveTo 588, 516
Delay 500
LeftClick 1
Delay 500
Else
//誤點分享
IfColor 512, 421, " CCAA22", 0 Then
MoveTo 512, 421
Delay 500
LeftClick 1
Delay 1000
Goto STEP6
End If
//升級確定
Rem STEP6
IfColor 541,514,"32C205",0 Then
MoveTo 541, 514
Delay 500
LeftClick 1
Delay 500
Else
Rem STEP5
//確定結束遊戲
IfColor 597,522,"3F3FDD",0 Then
MoveTo 597, 522
Delay 500
LeftClick 1
Delay 1000
LeftClick 1
Delay 2000
Else
//遇到關卡介面則回到檢測
IfColor 518,73,"D6FFFF",0 Then
Goto STEP1
End If
//依順序出ranger
IfColor 767, 582, "81FFFF", 0 Then
For 10
MoveTo 767, 582
LeftClick 1
Delay 20
MoveTo 661, 583
LeftClick 1
Delay 20
MoveTo 553, 583
LeftClick 1
Delay 20
MoveTo 459, 583
LeftClick 1
Delay 20
MoveTo 356, 582
LeftClick 1
Delay 20
Next
End If
End If
Goto STEP2
End If
Goto STEP4
End If
End If
End If
Else
MoveTo 518, 73
Delay 10000
Goto STEP1
End If
Goto STEP1
//BS600X1066
//查看是否有羽毛,若有則執行以下動作
IfColor 516, 77, "58E0D1", 0 Then
MoveTo 516, 77
Delay 1000
//團戰紅色戰鬥按扭
MoveTo 813, 499
Delay 500
LeftClick 1
Delay 1500
MoveTo 554, 542
Delay 500
LeftClick 1
Delay 2000
LeftClick 1
Delay 7000
//依順序出ranger25次
For 25
MoveTo 770, 540
LeftClick 1
Delay 30
MoveTo 660, 540
LeftClick 1
Delay 30
MoveTo 550, 540
LeftClick 1
Delay 30
MoveTo 440, 540
LeftClick 1
Delay 30
MoveTo 330, 540
LeftClick 1
Delay 30
Next
End If
//戰鬥結束,等待5分鐘後再繼續
IfColor 553, 106, "D4006D", 0 Then
MoveTo 552, 539
LeftClick 1
Delay 300000
End If
|