解经脉逆转要点和机器人
本帖最后由 hithit 于 2018-4-5 04:03 AM 编辑1,根骨要20,福源不需要20
2,流程参考www.pkuxkx.com/wiki/jiemi/ouyangfeng
3,带上50个金疮药和50个养精丹
4,中了李莫愁一针以后,在嘉兴“河岸”输入walk 1
以下为mush插件:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on 2018年 四月 05日 星期四, 上午 11:58 -->
<!-- MuClient version 5.04 -->
<!-- Plugin "pkuxkx_hithit_reverse" generated by Plugin Wizard -->
<muclient>
<plugin
name="pkuxkx_hithit_reverse"
author="hithit"
id="dad68e53c042a97c1342b3ae"
language="Lua"
purpose="解经脉逆转quest"
save_state="y"
date_written="2018-04-05 11:57:48"
requires="5.04"
version="1.0"
>
</plugin>
<!--Get our standard constants -->
<include name="constants.lua"/>
<!--Triggers-->
<triggers>
<trigger
group="经脉逆转"
match="^[> ]*你好象被什么东西一惊,回头便发足狂奔。"
regexp="y"
send_to="10"
sequence="100"
>
<send>walk 0</send>
</trigger>
<trigger
group="经脉逆转"
match="^[> ]*你的动作还没有完成,不能移动。"
regexp="y"
send_to="12"
sequence="100"
>
<send>local pn = tonumber(GetVariable("pn"))
if pn<=1 then
pn = 6
else
pn = pn - 1
end
SetVariable("pn", tostring(pn))</send>
</trigger>
<trigger
enabled="y"
group="气血判断1"
match="^[> ]*\( 你.*?。 \)『.*?\(.*?精神:(\d+)%/(\d+)%\)』"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("%1 %2")
local js = tonumber("%1")
local max = tonumber("%2")
local exit = GetVariable("exit")
if max<=40 then
Execute("eat dan")
end</send>
</trigger>
<trigger
enabled="y"
group="气血判断1"
match="^[> ]*\( 你.*?。 \)『.*?\(.*?气血:(\d+)%/(\d+)%\)』"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("%1 %2")
local qx = tonumber("%1")
local max = tonumber("%2")
local exit = GetVariable("exit")
if max<=40 then
Execute("eat yao")
end</send>
</trigger>
</triggers>
<!--Aliases-->
<aliases>
<alias
match="^walk (\d+)$"
enabled="y"
group="经脉逆转"
regexp="y"
send_to="12"
sequence="100"
>
<send>if "%1"=="0" then
EnableTriggerGroup("经脉逆转", 0)
EnableTimer("reverse", 0)
else
EnableTriggerGroup("经脉逆转", 1)
ResetTimer("reverse")
EnableTimer("reverse", 1)
SetVariable("pn", tostring(tonumber("%1")+1))
local p = GetVariable("p%1")
Execute(p)
end</send>
</alias>
</aliases>
<!--Timers-->
<timers>
<timer name="reverse" second="5.00" offset_second="0.00" send_to="12"
group="经脉逆转" >
<send>local pn = tonumber(GetVariable("pn"))
Note("pn="..pn)
local p = GetVariable("p"..tostring(pn))
if pn>=6 then
pn=1
else
pn=pn+1
end
SetVariable("pn", tostring(pn))
Execute(p)</send>
</timer>
</timers>
<!--Variables-->
<variables>
<variable name="p1">e</variable>
<variable name="p2">sw</variable>
<variable name="p3">e</variable>
<variable name="p4">w</variable>
<variable name="p5">ne</variable>
<variable name="p6">w</variable>
</variables>
</muclient> yct2.yct2.yct2.yct2.yct2.yct2. 点赞!当初按wiki一步一步做紧张坏了。。新手福利!建议加链接到wiki里~ 厉害了
页:
[1]