武神传说 MUD 武神脚本 武神传说 脚本 qq群367657589
@dtooboss 说道: 这个是检测对方忙乱完毕后释放破气或者大嵩阳的缠 if ( json.type == "status" && json.action == "remove" && json.sid == "busy" ) { SendCommand("perform sword.poqi"); SendCommand("perform unarmed.chan"); } 下面是检测自己的无招 buff 移除后释放无招 if (json.type == "status" && json.action == "remove" &&json.id == "自己的id" && json.sid == "weapon") { SendCommand("perform sword.wu"); }
@dtooboss 说道: @dtooboss 说道:
这个是检测对方忙乱完毕后释放破气或者大嵩阳的缠
if ( json.type == "status" && json.action == "remove" && json.sid == "busy" )
{ SendCommand("perform sword.poqi"); SendCommand("perform unarmed.chan"); }
下面是检测自己的无招 buff 移除后释放无招 if (json.type == "status" && json.action == "remove" &&json.id == "自己的id" && json.sid == "weapon") { SendCommand("perform sword.wu"); }
所有的自身状态,在下面添加pfm名称就可以监测吗?
建议增加自定义 触发 函数比如 ws 拦截到指定信息,会触发自定义的指令系列。
if ( json.type == "status" && json.action == "remove" && json.sid == "busy" ) { SendCommand("perform sword.poqi"); SendCommand("perform unarmed.chan"); }