smallkitty77 smallkitty77
关注数: 5 粉丝数: 72 发帖数: 1,455 关注贴吧数: 13
发一个整理过的冰咒宏,需要的可以拿去用哈。~ #IfWinActive ahk_class LaunchUnrealUWindowsClient F1:: MouseGetPos, mouseX, mouseY PixelGetColor, color, %mouseX%, %mouseY%, RGB StringRight color,color,10 ; tooltip, %mouseX%,%mouseY%颜色是:%color% return #Persistent #SingleInstance v_Enable=0 XButton1:: SetTimer, Label, 0 { v_Enable:=!v_Enable If (v_Enable=0) SetTimer, Label, Off Else SetTimer, Label, 0 } Return Label: send ] 次元弹 send ] 次元弹 if ( GetColor(704,678)=="0x8D2FA9" ) ; { send 4 } 顺发龙 if ( GetColor(704,678)=="0x8D2FA9" ) ; { send 4 } 顺发龙 if ( GetColor(815,489)=="0x4D7CB8" ) ; { send f } 9点钟方向破裂 if ( GetColor(810,496)=="0x3F63B7" ) ; { send f } 6点钟方向破裂 if ( GetColor(711,736)=="0x6A93A3" ) ; { send v 蓝色V } if ( GetColor(712,734)=="0xB396C3" ) ; { send v } 紫色V if ( GetColor(808,674)=="0x696969" ) ; { send [ } 黑色次元弹 return Xbutton2:: SetTimer, Label, Off SetTimer, press1, 1 press1: send ] send ] if ( GetColor(704,678)=="0x8D2FA9" ) ; { send 4 顺发龙 } if ( GetColor(711,736)=="0x6A93A3" ) ; { send v } 蓝色V Return Rbutton up:: SetTimer, press1, Off Return ;抓取颜色函数,在上面脚本中调用。 GetColor(x,y) { PixelGetColor, color, x, y, RGB StringRight color,color,10 ; return color } MButton:: send ssss Return F3::suspend EmptyMem(PID="Client or 剑灵 or AHK Rocks"){ pid:=(pid="Client or 剑灵 or 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 用的时候把里面我家的汉字去掉。装备太好不需要破裂标记次元弹的就别取色破裂了。
裴大请进,请教个冰咒宏的问题呀。 #IfWinActive ahk_class LaunchUnrealUWindowsClient F1:: MouseGetPos, mouseX, mouseY PixelGetColor, color, %mouseX%, %mouseY%, RGB StringRight color,color,10 ; tooltip, %mouseX%,%mouseY%颜色是:%color% return #Persistent #SingleInstance v_Enable=0 R:: { v_Enable:=!v_Enable If (v_Enable=0) SetTimer, Label, Off Else SetTimer, Label, 1 } Return Label: if ( GetColor(1162,620)=="0x459DC8" ) ; 掠夺 { send f } if ( GetColor(1045,867)=="0x3148AD" ) ; 蓝色应龙 { send 4 } send g if ( GetColor(1162,620)=="0x459DC8" ) ; 掠夺 { send f } send g if ( GetColor(1179,631)=="0x466FCD" ) ; 破裂 { send f } if ( GetColor(1045,867)=="0x3148AD" ) ; 蓝色应龙 { send 4 } send g if ( GetColor(1048,946)=="0x304751" ) ; 紫色死灵 { send v } send g if ( GetColor(1045,867)=="0x3148AD" ) ; 蓝色应龙 { send 4 } send g if ( GetColor(1165,620)=="0x741DA4" ) ; 破裂 { send f } if ( GetColor(1161,610)=="0x742DD3" ) ; 黑色次元弹没内自动触发左键 { send t if ( GetColor(1045,871)=="0x203992" ) ; 蓝色应龙 { send 4 } send g if ( GetColor(1162,620)=="0x459DC8" ) ; 掠夺 { send f } Return 4:: Loop { GetKeyState,State,4,P If (State="U") ; { Break } send {4} sleep 1 } Return 3:: Loop { GetKeyState,State,3,P If (State="U") ; { Break } sleep 200 send {3} sleep 1 } Return ;抓取颜色函数,在上面脚本中调用。 GetColor(x,y) { PixelGetColor, color, x, y, RGB StringRight color,color,10 ; return color } MButton:: Loop { GetKeyState,State,MButton,P If (State="U") ; { Break } send ssss sleep 1 } Return F3::suspend 裴大,帮忙看下,我现在祭献套冰咒,超神+掠夺的时候,如果用这套宏,自动的应龙如果不自己一直按4的话,蓝色应龙触发的有点慢,请问应该怎么改才能让蓝色应龙释放速度更快呢??
1 下一页