要+血的65%时 F1
+蓝25%时F2
+绿50%时F3
捡东西的,直接捡起。谢谢了。
说错了,应该是+蓝F5,捡东西要F2
要几个飞飞的按键精灵脚本
答案:2 悬赏:0 手机版
解决时间 2021-12-22 14:31
- 提问者网友:伴风望海
- 2021-12-22 03:34
最佳答案
- 五星知识达人网友:痴妹与他
- 2022-01-06 02:17
对
全部回答
- 1楼网友:夜风逐马
- 2022-01-06 03:36
dim hw
plugin hw=window.mousepoint()
plugin window.active(hw)
plugin window.move(hw,0,0)
plugin fontid1=kksoft.mcreatefontdata("宋体",9,12,12,6,400)
if fontid1=-1
messagebox "创建字库失败"
endif
while true
//-------------------------屏幕清理--------------------------
delay 3000
moveto 182,97
delay 500
leftclick 1
delay 100
moveto 15,466
delay 500
leftclick 1
delay 500
moveto 0,0
delay 100
//----------------------去除环境影响-----------
keydown 27,1
delay 100
keyup 27,1
delay 100
keydown 27,1
delay 100
keyup 27,1
delay 100
keydown 33,1
delay 2000
keyup 33,1
delay 100
//---------------------加状态-----------------------
plugin bgkm5.keyclick(hw,53)
delay 3000
plugin bgkm5.keyclick(hw,58)
delay 3000
//--------------------时间判断赋值---------------------
t1=now
t2=now
dim n=0
mystring=""
//---------------到达升级场所--------------------------
rem 升级之路
plugin mystring=kksoft.mocrtext(495,33,565,57,fontid1,"aad7fd",0.5,"")
//messagebox mystring
plugin bgkm5.keyclick(hw,49)
delay 100
plugin bgkm5.keyclick(hw,50)
delay 1000
while mystring=""
delay 1000
plugin mystring=kksoft.mocrtext(495,33,565,57,fontid1,"aad7fd",0.5,"")
delay 5000
plugin bgkm5.keyclick(hw,49)
delay 100
endwhile
//messagebox mystring
//--------------------开始打怪-------------------------
while true
rem 打怪
if datediff("n",t1,now)>15
plugin bgkm5.keyclick(hw,53)
delay 3000
//plugin bgkm5.keyclick(hw,48)
//delay 800
t1=now
endif
//----------------判断时间,重新登陆,以免被罚-------------------
if datediff("n",t2,now)>20
goto relogin
endif
delay 100
//走路方向的判断
if n<6
plugin bgkm5.keyclick(hw,9)
delay 100
//plugin bgkm5.keyclick(hw,50)
//delay 3000
n=n+1
else
n=0
keydown 37,1
delay 800
keyup 37,1
plugin bgkm5.keyclick(hw,49)
delay 100
//plugin bgkm5.keyclick(hw,50)
//delay 3000
endif
ifcolor 540,65,5b6ddc,1
delay 10
goto 打怪
endif
//---------------------判断怪物是否有血需要继续攻击-------------
mystring=""
plugin mystring=kksoft.mocrtext(495,33,565,57,fontid1,"aad7fd",0.5,"")
while mystring<>""
delay 100
plugin bgkm5.keyclick(hw,50)
delay 2000
//keypress 32,1
//delay 500
//------------加血
ifcolor 175,83,32240f,2
plugin bgkm5.keyclick(hw,54)
delay 1000
endif
//-------判断是否死亡
ifcolor 144,83,32230f,2
goto 判断死亡
endif
for 2
plugin mystring=kksoft.mocrtext(495,33,565,57,fontid1,"aad7fd",0.5,"")
delay 10
if mystring<>""
goto 继续打怪
endif
endfor
rem 继续打怪
//messagebox mystring
endwhile
// messagebox mystring
//-------------------------加血--------------------
ifcolor 175,83,32240f,2
plugin bgkm5.keyclick(hw,54)
delay 100
endif
//------------------------判断是否死亡---------------------
rem 判断死亡
ifcolor 144,83,32230f,2
plugin bgkm5.keyclick(hw,54)
delay 4000
//--------------------试加血后再次判断
ifcolor 144,83,32230f,2
moveto 515,390
delay 1000
leftclick 1
delay 100
leftclick 1
delay 60000
moveto 0,0
delay 100
//-----------------复活后加血
plugin bgkm5.keyclick(hw,54)
delay 100
plugin bgkm5.keyclick(hw,54)
delay 8000
//---------------判断药瓶是否存在,没有停机挂机--------------
ifcolor 146,83,32230f,2
delay 1000
endscript
endif
goto 升级之路
endif
endif
//---------------------------加蓝---------------------
ifcolor 143,98,32240f,2
plugin bgkm5.keyclick(hw,55)
delay 10
endif
//-------------------------加宠物血------------------
ifcolor 125,112,32240f,2
plugin bgkm5.keyclick(hw,57)
delay 0
endif
delay 600
//-----------------------------捡东西----------------------
plugin bgkm5.keyclick(hw,56)
delay 100
endwhile
//---------------------------重新登陆----------------------
rem relogin
delay 15000
movetos 730,750
delay 300
leftclick 1
delay 300
movetos 725,625
delay 300
leftclick 1
delay 15000
plugin bgkm5.keyclick(hw,xx)
delay 300
plugin bgkm5.keyclick(hw,xx)
delay 300
plugin bgkm5.keyclick(hw,xx)
delay 300
plugin bgkm5.keyclick(hw,xx)
delay 300
plugin bgkm5.keyclick(hw,xx)
delay 300
plugin bgkm5.keyclick(hw,xx)
delay 300
plugin bgkm5.keyclick(hw,xx)
delay 2000
plugin bgkm5.keyclick(hw,13)
delay 100
delay 10000
plugin bgkm5.keyclick(hw,13)
delay 8000
endwhile
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯