kuan = Plugin.Sys.GetScRX() gao = Plugin.Sys.GetScRY() Rem 找怪 FindPic kuan*0.2,gao*0.2,kuan*0.7,gao*0.7,"Attachment:\jisha.bmp",0.9,jishaX,jishaY If jishaX > 0 And jishaY > 0 Then MoveTo jishaX + 25 + 12, jishaY + 7 Delay 2000 LeftClick 1 Delay 1000 * 60 * 2 Rem 完成任务 FindPic kuan*0.2,gao*0.2,kuan*0.7,gao*0.9,"Attachment:\wanchengrenwuxh.bmp",0.9,wanchengX,wanchengY If wanchengX > 0 And wanchengY > 0 Then Rem 完成 MoveTo wanchengX + 25, wanchengY + 7 Delay 2000 LeftClick 1 Delay 2000 LeftClick 1 Delay 500 KeyPress "Q", 1 Delay 500 KeyPress "Q", 1 Delay 2000 FindPic kuan*0.2,gao*0.2,kuan*0.7,gao*0.7,"Attachment:\lingerdejinnang.bmp",0.9,jinangX,jinnangY If jinangX > 0 And jinnangY > 0 Then Goto 找怪 Else Rem 结束 Call Plugin.Msg.Tips("亲~任务完成了哦") EndScript End If Else Delay 1000 Goto 完成任务 End If Else FindPic kuan*0.2,gao*0.2,kuan*0.7,gao*0.9,"Attachment:\wanchengrenwuxh.bmp",0.9,wanchengX,wanchengY If wanchengX > 0 And wanchengY > 0 Then Goto 完成 Else Goto 结束 End If End If