Plugin Hwnd = Window.Foreground() Plugin Window.Move(Hwnd, 0, 0) Rem 走路1 Gosub 地图 Delay 200 MoveTo 279,461 Delay 200 Gosub PD打怪没 LeftClick 1 Delay 2000 Gosub PD打怪没 MoveTo 382,393 Delay 100 Gosub PD打怪没 LeftClick 1 Gosub 地图 Gosub PD打怪没 Delay 2000 Gosub PD打怪没 MoveTo 314,295 Delay 100 Gosub PD打怪没 LeftClick 1 Gosub PD打怪没 Gosub 地图 Delay 2000 Gosub PD打怪没 MoveTo 165,343 Delay 100 Gosub PD打怪没 Gosub 地图 LeftClick 1 Delay 2000 Gosub PD打怪没 Gosub 地图 Goto 走路1 Sub 地图 IfColor 443,457,1800c8,0 Else KeyPress 9,1 EndIf Return 地图 Sub PD打怪没 IfColor 23,91,f8dcc0,1 IfColor 22,91,f8dcc0,0 Else MoveTo 752,98 Delay 600 LeftClick 1 EndIf Rem 1 IfColor 620,90,f8dcc0,0 Delay 1000 Goto 1 Else KeyPress 27,1 Delay 100*5 Gosub 地图 EndIf Else EndIf Return PD打怪没 Sub OnScriptExit MessageBox "脚本已经停止!欢迎使用" Return