function main 
while true 
if not CheckColor(218, 35, Color(222, 8, 8), 10) then 
KeyPress("F1")//補血 
else //否則 
KeyPress("F3")//備用補血 
end if 
if not CheckColor(147, 47, Color(19, 70, 126), 10) then 
KeyPress("F2")//補魔 
else //否則 
KeyPress("F4")//備用補魔 
end if 
if FindImageEx("寶箱.sel", Color(10, 10, 10), 9, 32, 1011, 672, true, FoundX, FoundY) then 
MouseRightClick(FoundX+2, FoundY+10) 
end if 
if FindImageEx("寶箱1.sel", Color(10, 10, 10), 9, 32, 1011, 672, true, FoundX, FoundY) then 
MouseRightClick(FoundX+2, FoundY+10) 
end if 
if CheckColor(588, 35, Color(17, 16, 15), 10) then 
KeyPress("1") 
else 
KeyPress("`") 
end if 
if CheckColor(588, 35, Color(17, 16, 15), 10) then 
KeyPress("1") 
end if 
if FindImageEx("寶箱2.sel", Color(10, 10, 10), 9, 32, 1011, 672, true, FoundX, FoundY) then 
MouseRightClick(FoundX+2, FoundY+10) 
end if 
if FindImageEx("寶箱3.sel", Color(10, 10, 10), 9, 32, 1011, 672, true, FoundX, FoundY) then 
MouseRightClick(FoundX+2, FoundY+10) 
end if 
Wait(50) 
KeyPress("0") 
Wait(50) 
MouseLeftClick(927, 29) 
wend 
end function 
 
我用的是上面的腳本 
 
一支怪才打不到3秒鐘 
他就會再找新的怪打 
請問那是哪裡要修改呢 
我等級60級 
 
會的大大教教我吧 
謝謝~~~ |