[游戏][剑灵召唤]剑灵召唤风系疯狗模式(大马蜂)

功能键说明:XButton1侧下 XButton2侧上 滚轮

 

#IfWinActive ahk_class LaunchUnrealUWindowsClient
#Persistent
#SingleInstance
v_Enable=0
XButton1::
v_Enable:=!v_Enable
If (v_Enable=0)
{
SetTimer, Label0, Off
}
Else
{
SetTimer, Label0, 1
}
Return
Label0:
if ( GetColor(668,791)=="0x12253E" ) ;常春藤
{
sendinput,1
}
if ( GetColor(855,658)=="0xC36235" ) ;板栗
{
sendinput,f
}
if ( GetColor(709,783)=="0x3A5D2F" ) ;藤鞭
{
sendinput,2
}
if ( GetColor(873,623)=="0xAE8D99" || GetColor(872,623)=="0xE08256") ;牵牛显示 板栗
{
sendinput,f
}
if ( GetColor(747,785)=="0x4879D8" ) ;投掷花粉
{
sendinput,3
}
if ( GetColor(836,787)=="0x351917" || GetColor(838,788)=="0x35609B") ;玫瑰 蝴蝶
{
sendinput,r
}
if ( GetColor(881,777)=="0xBBBA88" ) ;马蜂或者大马蜂
{
sendinput,t
}

return
GetColor(x,y)
{
PixelGetColor, color, x, y, RGB
StringRight color,color,10 ;
return color
}
EmptyMem(PID="Client and AHK Rocks"){
pid:=(pid="Client and AHK Rocks") ? DllCall("GetCurrentProcessId") : pid
h:=DllCall("OpenProcess", "UInt", 0x001F0FFF, "Int", 0, "Int", pid)
DllCall("SetProcessWorkingSetSize", "UInt", h, "Int", -1, "Int", -1)
DllCall("CloseHandle", "Int", h)
}
Return
MButton::
While(Getkeystate("MButton","P"))
{
sendinput ss
}
Return
XButton2::
Loop,1
{
sendinput 4
sleep 300
sendinput f
}
Return

 


亲爱的朋友们,如果你认为本站不错请打赏,我们非常感谢你的支持!

[su_button url=”http://www.autoahk.com/buyamoney” style=”3d” color=”#ffe41c” size=”20″ radius=”round”]赏[/su_button]



声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

给TA捐赠
共{{data.count}}人
人已捐赠
应用

[游戏]剑灵剑士火系卡刀

2017-2-15 19:35:51

应用

[游戏][剑咒术师]剑咒术师暗系(空对地导弹)

2017-2-15 19:40:24

2 条回复 A文章作者 M管理员
  1. 不胖不胖

    感谢分享

  2. 幸运E

    感谢分享,参考通过找色判断技能的源码

❯
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索