幸运之星正在降临...
点击领取今天的签到奖励!
恭喜!您今天获得了{{mission.data.mission.credit}}积分
我的优惠劵
-
¥优惠劵使用时效:无法使用使用时效:
之前
使用时效:永久有效优惠劵ID:×
没有优惠劵可用!
下拉组合框算是弄明白了 感谢指点 可能是我表达的不够清楚 已经用笨办法解决了
#SingleInstance Force
#NoEnv
#Include
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
WinActivate ahk_class MapleStoryClass
WinGetPos, pX, pY, pW, pH, ahk_class MapleStoryClass
Gui -MinimizeBox -MaximizeBox
Gui Font, s9, Segoe UI
Gui Add, Text, x19 y133 w52 h29 +0x200, F1:开始
Gui Add, Text, x122 y133 w52 h29 +0x200, F5:刷新
Gui Add, Text, x116 y166 w62 h29 +0x200, ESC:退出
Gui Add, Text, x19 y166 w52 h29 +0x200, 空格暂停
Gui Add, Radio, x17 y17 w70 h22 v选择1, 物理攻击
Gui Add, Radio, x109 y17 w70 h22 v选择2, 魔法攻击
Gui Add, Radio, x66 y56 w70 h22 v选择3, 暴击率
Gui Add, Radio, x17 y89 w70 h22 v选择4, 伤害
Gui Add, Radio, x109 y89 w70 h22 v选择5, 移速
Gui Show, x1478 y806 w191 h203, 自选洗怪怪
Return
GuiEscape:
GuiClose:
ExitApp
~F1::
Gui, Submit, NoHide
if (选择1 = 1)
{
; MsgBox 物理攻击
loop{
WinActivate ahk_class MapleStoryClass
Sleep 100
Click 708, 95 2
Sleep 100
Click 411, 132
Sleep 100
Click 733, 443
Sleep 200
Text:="|*142$90.qzw1zTyzxzzzzzzqz5hzTyzxzzzzzzK1hh1TU3xzzzrvh1Jg1r1yz03zvbnJLJhhqvyzxvrvrnHrJ5hpP01xvzUrfJmpg1rPyzxvzvrPW6hjjrLivvvzvr1mphg1ljivvvzzrverRbjDLivrvrzXlhqxDjyvU3jvzzzzzpns1xxzvT7zzzzzU"
if (ok:=FindText(X:="wait", Y:=1, pX, pY, pX+pW, pY+pH, 0, 0, Text))
{
break
}
Sleep 200
}
}
else if (选择2 = 1)
{
; MsgBox 魔法攻击
loop{
WinActivate ahk_class MapleStoryClass
Sleep 100
Click 708, 95 2
Sleep 100
Click 411, 132
Sleep 100
Click 733, 443
Sleep 200
Text:="|*145$90.zTjTzTyzxzzzzzzU1rTzTyzxzzzzzzhrzT1TU3xzzzrvhUVs3r1yz03zvbnJZJTTqvyzxvrvrnHc3jTpP01xvzUrfJfPk1rPyzxvzvrPWc3yzrLivvvzvr1mevqrljivvvzzrvec3hvDLivrvrzXlhhJM1yvU3jvzzzzzHVzxxxzvT7zzzzzU"
if (ok:=FindText(X:="wait", Y:=1, pX, pY, pX+pW, pY+pH, 0, 0, Text))
{
break
}
Sleep 200
}
}
else if (选择3 = 1)
{
; MsgBox 暴击率
loop{
WinActivate ahk_class MapleStoryClass
Sleep 100
Click 708, 95 2
Sleep 100
Click 411, 132
Sleep 100
Click 733, 443
Sleep 200
Text:="|*142$66.q3yzyzzzzzzqvyz01zzzzzm3U3xzzzXXhKvyzffzvRRJK3yzkLrvRRHLL01yzzUvRJK3yzpLzvrRWrLivc/zvjRmo1ivyzzzTReefiv01rz1Xhd5U3yzzzzzzSfzvyzzzzzzU"
if (ok:=FindText(X:="wait", Y:=1, pX, pY, pX+pW, pY+pH, 0, 0, Text))
{
break
}
Sleep 200
}
}
else if (选择4 = 1)
{
; MsgBox 伤害
loop{
WinActivate ahk_class MapleStoryClass
Sleep 100
Click 708, 95 2
Sleep 100
Click 411, 132
Sleep 100
Click 733, 443
Sleep 200
Text:="|*144$54.vTyzzzzzzvT01zzzzzr1SxzzXXhqzU3zvRRJZjyzrvRRHLjU3zUvRJq1yzzvrRWrh01zvjRmrRyzzzTRerRU3rz1XhqxjvzzzzzpnU3zzzzzU"
if (ok:=FindText(X:="wait", Y:=1, pX, pY, pX+pW, pY+pH, 0, 0, Text))
{
break
}
Sleep 200
}
}
else if (选择5 = 1)
{
; MsgBox 移速
loop{
WinActivate ahk_class MapleStoryClass
Sleep 100
Click 708, 95 2
Sleep 100
Click 411, 132
Sleep 100
Click 733, 443
Sleep 200
Text:="|*143$71.vTzjTTzTzzzyC77TE303zzzzPjyzxyrTzzSCezsD0Q0DzQvUvkPGqvRxyxrPfvqphq3zkPiaVjhc3jzzvrR6vLPQTE7zritOhqqpSrjzzRqys/hPRqyzwQRnzrPrvnzzzzuTzNc0gMzzzzU"
if (ok:=FindText(X:="wait", Y:=1, pX, pY, pX+pW, pY+pH, 0, 0, Text))
{
break
}
Sleep 200
}
}
Return
space::
Pause
Return
F5::
Reload
Return
Esc::
ExitApp
Return