Ice Warlock Macro V1.4
Macro As below
Press F1 to get the colour and coordinate of your mouse location
Replace it with the values on my script
U= RB
R=LB
Download
#IfWinActive ahk_class LaunchUnrealUWindowsClientF1::MouseGetPos, mouseX, mouseYPixelGetColor, color, %mouseX%, %mouseY%, RGBStringRight color,color,10 ;tooltip, %mouseX%,%mouseY% Col:%color%returnXbutton1::#PersistentSetTimer, press2, 500SetTimer, pressV, 200SetTimer, pressB, 10SetTimer, press4, 10returnpress2:if ( GetColor(937,883)=="0x7B79A5" ) ;戒型锁 Soul Shackle{send 22}returnpressV:if (GetColor(1052,960)=="0x6AA8B6") ;Blue V 藍色死靈{send v}returnPressB:sendinput {4 down}sendinput {4 up}sendinput {u down}sendinput {u up}returnPress4:sendinput {4 down}sendinput {4 up}returnXbutton1 UP::SetTimer, press2, OffSetTimer, pressB, OffSetTimer, press4, OffSetTimer, pressV, OffReturn$3::if (getkeystate("xbutton1","p")){SetTimer, press2, OffSetTimer, pressV, OffSetTimer, pressB, offSetTimer, press4, offsend 3sleep 1470SetTimer, press2, 500SetTimer, pressV, 200SetTimer, pressB, 10SetTimer, press4, 10send 4}else{send 3}return$f::if (getkeystate("xbutton1","p")){send 4f}else{send f}returnGetColor(x,y){PixelGetColor, color, x, y, RGBStringRight color,color,10 ;return color}ReturnEmptyMem(PID="Client or 劍靈 or AHK Rocks"){pid:=(pid="Client or 劍靈 or AHK Rocks") ? DllCall("GetCurrentProcessId") : pidh:=DllCall("OpenProcess", "UInt", 0x001F0FFF, "Int", 0, "Int", pid)DllCall("SetProcessWorkingSetSize", "UInt", h, "Int", -1, "Int", -1)DllCall("CloseHandle", "Int", h)}ReturnMButton::SetTimer, press2, OffSetTimer, pressV, OffSetTimer, pressB, offSetTimer, press4, offSetTimer, pressD, 1ReturnPressD:Send ssSend ssreturnMButton up::if (getkeystate("xbutton1","p")){SetTimer, press2, 500SetTimer, pressV, 200SetTimer, pressB, 10SetTimer, press4, 10SetTimer, pressD, off}else{SetTimer, pressD, off}ReturnF11::suspend
Comments
Post a Comment