en1:=209
C1:=0
Count:=13
Count2:=14
goto,강화
}
강화:
loop,%Count2%
{
if Count2=1
{
goto,강화3
}
sleep,200
Mousemove,723,en1
sleep,200
Mousegetpos, ax, ay
PixelGetColor, a, %ax%, %ay%
Count:=Count-1
en1:=en1+22
Count2:=Count2-1
C1:=C1+1
if a=0x181818
{
Mousemove,%ax%,%ay%
sleep,200
Mouseclick,left
sleep, 200
Count:=Count-1
en1:=en1+22
Count2:=Count2-1
C1:=C1+1
ImageSearch, vX, vY, 0, 0, A_ScreenWidth, A_ScreenHeight, *75 ch2.bmp
if errorlevel = 0
{
goto,진행
}
if errorlevel = 1
{
}
}
else
{
}
}
진행:
loop{
sleep,300
ImageSearch, vX, vY, 0, 0, A_ScreenWidth, A_ScreenHeight, *75 ch2.bmp
if errorlevel = 0
{
Mousemove,%vX%,%vY%
sleep,200
Mouseclick,left
sleep, 3000
}
ImageSearch, vX, vY, 0, 0, A_ScreenWidth, A_ScreenHeight, *75 c4.bmp
if errorlevel = 0
{
Mousemove,%vX%,%vY%
sleep,200
Mouseclick,left
sleep, 9500
ImageSearch, vX, vY, 0, 0, A_ScreenWidth, A_ScreenHeight, *75 c5.bmp
if errorlevel = 0
{
Mousemove,%vX%,%vY%
sleep,200
Mouseclick,left
sleep, 300
en1:=209
goto,강화
}
}
if errorlevel=1
{
ImageSearch, vX, vY, 0, 0, A_ScreenWidth, A_ScreenHeight, *75 f.bmp
Mousemove,%vX%,%vY%
sleep,200
Mouseclick,left
sleep, 9500
ImageSearch, vX, vY, 0, 0, A_ScreenWidth, A_ScreenHeight, *75 c5.bmp
if errorlevel = 0
{
Mousemove,%vX%,%vY%
sleep,200
Mouseclick,left
sleep, 300
en1:=209
goto,강화
return
}
}
}
강화3:
{
en2:=208
C2:=0
Count3:=13
Count4:=14
goto,강화4
}
강화4:
loop,%Count4%
{
if Coun4 =1
{
goto,구매가기
}
sleep,200
Mousemove,715,en2
sleep,200
Mousegetpos, bx, by
PixelGetColor, b, %bx%, %by%
Count3:=Count3-1
en2:=en2+22
Count4:=Count4-1
C2:=C2+1
if b=0x29304A
{
Mousemove,%bx%,%by%
sleep,200
Mouseclick,left
sleep, 200
Count3:=Count3-1
en2:=en2+22
Count4:=Count4-1
C2:=C2+1
카운터 개념이 넘 ㅜ어렵네요 ㅠㅠ