- //腳本名稱:石器自動打怪
- //腳本功能:.打怪坐下
- //系統環境:.XP SP3,1024*768 32bit 60Hz,請自備EZQ/EZS,顯示晶片:NVIDIA(必需)
- //遊戲環境:.螢幕大小1024*768,色彩品質32位元,其餘一律依照最初預設值
- //前置動作:.先將腳色手動攻擊一次(戰鬥按esc)
- //以下可調數值
- var1 = 50 //hp%坐下
- var2 = 50 //mp%坐下
- var3 = 2 //1左 2右(先行方向)
- var4 = 5 //移動範圍
- //以上可調數值
- extvar[21] = var1*0.76
- extvar[22] = var2*0.76
- extvar[23] = 1
- extvar[12] = xy2pos[984,100]
- Call xy
- extvar[15] = extvar[11] - var4
- extvar[16] = extvar[11] + var4
- //extvar[12] = xy2pos[984,121]
- //Call xy
- //extvar[17] = extvar[11] - 10
- //extvar[18] = extvar[11] + 10
- start:
- If Color[XY2Pos[993,50]] != 16777215
- While Color[XY2Pos[993,50]] != 16777215
- KeyPress(27)
- extvar[23] = 1
- Wend
- Delay(1000)
- End If
- While Color[XY2Pos[520,258]] = 16777215
- KeyPress(27)
- Delay(500)
- Wend
- If extvar[23] = 1
- Call hpmp
- End If
- extvar[12] = xy2pos[984,100]
- Call xy
- extvar[13] = extvar[11]
- //extvar[12] = xy2pos[984,121]
- //Call xy
- //extvar[14] = extvar[11]
- If extvar[13] > extvar[16] && var3 = 2
- Left Click 25166071
- var3 = 1
- ElseIf extvar[15] > extvar[13] && var3 = 1
- Left Click 25101058
- var3 = 2
- End If
- If var3 = 1
- Left Click 25166071
- ElseIf var3 = 2
- Left Click 25101058
- End If
- Jump start
- xy:
- extvar[11] = 0
- Repeat 4
- extvar[11] = extvar[11] * 10
- If Color[extvar[12]+XY2Pos[2,0]] = 16777215
- extvar[10] = 5
- ElseIf Color[extvar[12]+XY2Pos[2,7]] = 16777215
- extvar[10] = 4
- ElseIf Color[extvar[12]+XY2Pos[3,4]] = 16777215
- extvar[10] = 8
- ElseIf Color[extvar[12]+XY2Pos[3,5]] = 16777215
- extvar[10] = 1
- ElseIf Color[extvar[12]+XY2Pos[2,3]] = 16777215
- extvar[10] = 6
- ElseIf Color[extvar[12]+XY2Pos[3,7]] = 16777215
- extvar[10] = 2
- ElseIf Color[extvar[12]+XY2Pos[3,2]] = 16777215
- extvar[10] = 3
- ElseIf Color[extvar[12]+XY2Pos[2,6]] = 16777215
- extvar[10] = 9
- ElseIf Color[extvar[12]+XY2Pos[1,1]] = 16777215
- extvar[10] = 7
- Else
- extvar[10] = 0
- End If
- extvar[11] = extvar[10] + extvar[11]
- extvar[12] = extvar[12] + 8
- End Repeat
- Return
- hpmp:
- extvar[20] = getcolorpos[10222325,0,xy2pos[1024,768]]
- While extvar[20] < 0
- KeyPress(84)
- Delay(500)
- extvar[20] = getcolorpos[10222325,0,xy2pos[1024,768]]
- Wend
- If Color[extvar[20] + extvar[21] + Y2Pos[18]] / 256 % 256 < 150
- While Color[extvar[20] + XY2Pos[76,18]] / 256 % 256 < 150
- KeyPress(561)
- Delay(100)
- Wend
- ElseIf Color[extvar[20] + extvar[22] + XY2Pos[96,18]]/ 65536 < 150
- While Color[extvar[20] + XY2Pos[172,18]]/ 65536 < 150
- KeyPress(561)
- Delay(100)
- Wend
- End If
- While extvar[20] > 0
- KeyPress(84)
- Delay(500)
- extvar[20] = getcolorpos[10222325,0,xy2pos[1024,768]]
- Wend
- extvar[23] = 0
- Return
複製代碼
P.S 腳本如上,如要尋找ezs程式請自行想辦法(腳本及遊戲也好幾天沒動了)
左右移動範圍可在var4設定(絕不會卡點,因為是抓座標位置的)
進入遊戲後按alt+pause啟動喔(別在EZS下按執行啟動)!!!!
最重要的是"請用於台版",我也沒玩別的版本,不知道能過那些有加料的~~~
[ 本帖最後由 eggiex 於 2009-4-5 09:21 編輯 ] |
|