给个江湖的自动技能蓝红脚本

来源:百度知道 编辑:UC知道 时间:2024/05/22 15:07:33
我想要一个自己技能 加蓝红的脚本 加红和蓝不是百分之多少加 要可以设下限多少血或内功加蓝红 有的给脚本代码 谢谢
或者告诉我怎么改百分之多少的代码也可以 几%对应什么代码 知道的谢谢 比如下面脚本怎么改百分多少喝血
F1放技能。F3蓝。F2红
红和蓝都是到50%左右加的。
以下是脚本
IfColor 91 12 424563 2
KeyPress 113 1
Delay 200
EndIf
IfColor 77 21 211818 2
KeyPress 114 1
Delay 300
EndIf
KeyPress 112 1
Delay 130
KeyPress 112 1
Delay 130
KeyPress 112 1
Delay 130
KeyPress 112 1
Delay 130
KeyPress 112 1
Delay 130
KeyPress 112 1
Delay 130
KeyPress 112 1
Delay 130

IfColor 91 12 424563 2 这里91不是坐标吗 补血快点下限高点就行

F1放技能。F3蓝。F2红
红和蓝都是到50%左右加的。
以下是脚本
IfColor 89 10 4a4963 2
KeyPress 113 1
Delay 200
EndIf
IfColor 77 21 211818 2
KeyPress 114 1
Delay 300
EndIf
KeyPress 112 1
Delay 100
KeyPress 112 1
Delay 100
红调到了60%加 不行可以自己去游戏中抓点

这样啊``
那很简单的,你只要用高版本的按键就能用抓图功能来定位吃血的百分比。
先让小怪打你到没什么血,然后使用抓图工具在你想要加血的地方抓图,然后替换到你脚本的IfColor 91 12 424563 2这个地方,替换掉这个值,50%的地方在IfColor 86 11 4a4d63 2,
有个小诀窍,按键不要用(=)多少,而要用(≈)多少的时候执行什么命令。

改补药点是分别修改第一行|IfColor 91 12 424563 2|中91跟第三行|IfColor 77 21 211818 2|中77的数值,数值的范围从0%到100%大约是数字20-150。
你上面的脚本在同个脚本内重复了很多次JN的快捷键,造成了延时过长可能有时会补血过慢,下面是我用的脚本给你参考。
[General]
Description=F5技能、F2红、F3蓝
BeginHotkey=120
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=0
EnableWindow=
Enable=1
[Repeat]
Type=1
Number=15186416
[CallBack]
OnSetup=
[Comment]
Cont