求一个按键精灵有热血江湖 剑客用脚本

来源:百度知道 编辑:UC知道 时间:2024/05/20 06:49:27
能自动找怪刷怪 自动补蓝红的 是按键精灵用的脚本 要好用的 谢谢哪位高手 能送我个

//〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★主程序★〓〓〓〓〓〓〓〓〓〓〓〓〓Rem 挂机
  KeyPress 112 1
  Delay 32
  Gosub 补红蓝
  Gosub 无药回城
  Rem 找怪
  MoveTo 0 300
  Delay 300
  MoveTo 525 435
  Delay 300
  LeftClick 1
  Delay 5
  Rem 打怪
  VBSCall Call FindCenterColor(350,220,674,460,"1028ff",x1,y1)
  //检测怪的血条
  If x1>0 and y1>0
  //有血条,怪存在
  For 3
  KeyPress 114 1
  //使用技能攻击,同理循环3次
  Delay 128
  EndFor
  //技能延时
  Gosub 补红蓝
  For 3
  KeyPress 115 1
  Delay 128
  EndFor
  Gosub 无药回城
  Goto 打怪
  //循环技能攻击
  EndIf
  Goto 挂机
  //无怪,怪卡住或死亡,重新开始下一轮循环
  Rem 停止挂机
  MoveTo 525 435
  Delay 6000
  EndScript
  //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★子程序★〓〓〓〓〓〓〓〓〓〓〓〓〓
  Sub 补红蓝
  Rem 补红
  IfColor 125 12 424563 2
  KeyPress 118 1
  Delay 128
  EndIf
  IfColor 91 12 424563 2
  KeyPress 118 1
  Delay 128
  EndIf