0
JX3PVE
首页
宏库
工具
职业
副本
捏脸
广场
江湖
更多
登录
|
注册
剑网3PVE官方站(JX3PVE.COM)
›
首页
›
发布文章
发布文章
标 题:
B
I
U
HTML文件名:
.html
分页标题:
频道栏目
选择分类
焦点头条
文章来源
来源地址
发布时间
自动获取
帖子 tid
日志 id
获取楼主所有帖子
获取
跳转URL
原作者
关闭
上传图片
相册图片
网络图片
请输入图片地址
宽(可选)
高(可选)
提交
创建
取消
点击图片添加到编辑器内容中
选择相册:
选择相册
默认相册
点击图片添加到编辑器内容中
关闭
上传附件
文件名
文件大小
点击文件名将附件添加到文章中
<font color="#555555"><font face="Helvetica, 宋体,">第二章·第1节:常用命令与参数运算符号 </font></font><font color="#555555"><font face="Helvetica, 宋体,"><br /> </font></font><br /> <font color="#555555"><font face="Helvetica, 宋体,">主稿:YYL ∕ 修订:Jachou</font></font><br /> <font color="#555555"><font face="Helvetica, 宋体,"><br /> </font></font><hr class="l" /><br /> <br /> <strong>常用命令</strong><strong>/Cast 或 /Skill 释放技能</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">语法:</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 技能名称或ID</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/cast 技能名称或ID</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px"><hr class="l" /><br /> </font></font></font></div><strong>/Use 或 /Skill 使用物品</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">语法:</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/use 腰坠 (腰坠可以包含所有腰坠,无需写名字)</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/use 武器名称或ID<hr class="l" /></font></font></font></div><strong>/Omwp 或 /Equip 切换武器或装备</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">语法:</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/omwp 武器或装备名称或UID</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Umwp 卸下当前武器</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Unequip 卸下当前装备<hr class="l" /></font></font></font></div><strong>/Target 选择目标</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">语法:</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/target 目标名字或ID<hr class="l" /></font></font></font></div><strong>/Delbuff 或 /Cbuff 删除buff</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">即点掉某个Buff,比如MT可以总是点掉无威胁气劲</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">例:/cbuff 引羌笛,极乐引,金刚伏魔五阵<hr class="l" /></font></font></font></div><strong>/Var 变量赋值</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">将判断条件的执行结果赋值给变量,变量名(以”V_”开头)</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">例:/Var [bufftime:青冠<3] v_qg 即将青冠Buff时间小于3秒作为一个变量,并将其命名为v_qg,后续可以反复利用这个变量!<hr class="l" /></font></font></font></div><strong>/Print 打印判断结果</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/print [fight ,life<0.3]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">在系统聊天栏里面会黄字输出 [fight , life<0.3]的判断结果,方便调试宏</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">注: /print 命令默认只有在编辑界面打开的时候才会打印判断结果<hr class="l" /></font></font></font></div><strong>/Inter Doodad交互</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">例:/Inter [nobuff:蛊时]仙王蛊鼎 – 也可庖丁挖草挖矿等交互<hr class="l" /></font></font></font></div><strong>/Dia 对话交互(类似盗宝贼、美人图、茶馆对话)</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">例:/Dia 确定存在对话框,且选项中有包含“确定”两字就会选择对话框!(模糊匹配)多个待选项以逗号分割。</font></font></font></div><hr class="l" /><br /> <strong>/Return 终止运行可以理解成保护引导</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">如果符合条件,停止执行宏,该语句后面的内容将不会运行</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">终止宏的运行,可加入判断语句,有点类似盒子宏的/config 保护引导</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">#name Return示例</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 穿云</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/ReTurn [fight]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 后撤</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">如果Fight判断为真,则终止,后面的/skill 后撤将不会执行。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">常见用法</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Return [ggcd>0.3]–公共cd</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 疾如风,龙牙,穿云</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">即公共cd大于0.3的时候就终止. 可以把下面的爆发技能[疾如风]压缩到即将释放技能的前面一刻, 合理利用其buff的有效时间。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Return [! (tar:npc , tarisem) ]–目标的NPC类型判断,敌对判断</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 疾如风,龙牙,穿云</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">其中 “!” 表示否定. 即“不是”(目标NPC 且 目标敌对),即终止。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">由于官方白名单的原因.宏插件只能在 无目标 或 目标为NPC 时使用技能。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">此处Return 既可以避免那些不必要的插件的判断,又可以使[疾如风]这类爆发性buff在正确的时机释放。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">扩展用法</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/if [fullmoon ; fullsun]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 净世破魔击</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Return [dis<8]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/end</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 赤日轮</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">此处/return 的作用是合理规避官方游戏的bug和延迟!</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">因为在游戏处理时,日月值100转换为满日月时,会有稍许停顿,再加上网络延迟,即使ggcd结束的时刻,还不能释放 [净世破魔击],</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">导致打出了不必要的[赤日轮], 加上终止命令 /return [dis<8]即可规避游戏本身的迟钝,达到想要结果。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">保护引导</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return [ota]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 玳弦急曲</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">上面的简单示例可以保护引导技能</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return [ota]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 玳弦急曲</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 梵音急节</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">这个例子中,保护引导可能会失效,因为插件执行速度较快,一次键击,宏从上到下执行,导致后面的 [梵音急节]会打断[玳弦急曲],</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return [ota]并未执行,同时也没有获取到OTA的状态。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">–改进1型</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return [ota]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill [tar,sktest:玳弦急曲]玳弦急曲 –有目标,且技能亮着(在攻击范围内)</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return [explast :玳弦急曲]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 梵音急节</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">例子通过return命令,终止宏后半段的执行.以防止被打断.(关于explast预判参加其他说明文档)。</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">–改进2型</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return [ota]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/if [tar,sktest:玳弦急曲]</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 玳弦急曲</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/return</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/end</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/skill 梵音急节</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">例子2通过if结构,一样可以保护引导</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">总之:宏上面有/return [ota]命令,同时宏内容中,每次键击[引导技能]是最后一个动作,即可保护引导 !<hr class="l" /></font></font></font></div><strong>If 条件结构</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/If 如果符合条件,执行下面代码</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Elseif 如果不符合前面的”/if”、”elseif”条件的情况,且符合这个条件的情况下,执行下面的代码</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/Else 如果不符合前面”/if”、”elseif”中的条件,执行下面代码</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">/End /If 结构结束标记<hr class="l" /></font></font></font></div><strong>/Macro 调用子宏</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">子宏的名字多个以逗号分割</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">注:子宏将完全继承并使用主宏的#skillbox #varbool #varnum #bantest /var 定义的变量值或判断<hr class="l" /></font></font></font></div><strong>/AllSk 允许技能释放</strong><strong>/BanSk 禁止技能释放</strong><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">技能名称,多个以逗号分割</font></font></font></div><div align="left"><font style="background-color:rgb(249, 249, 249)"><font face="宋体"><font style="font-size:12px">对#SkillBox定义过的技能,执行“禁止/允许”操作未被#skillBox定义的技能无效</font></font></font></div><hr class="l" /><br /> <br /> <strong>判断参数符号表</strong><table cellspacing="0" class="t_table" style="width:98%"><tr><td width="57">优先级</td><td width="50">符号</td><td width="46">同义</td><td width="169">描述</td><td width="366">示例</td><td width="285">备注</td></tr><tr><td width="57">1</td><td width="50"><strong>;</strong></td><td width="46"></td><td width="169">(多个条件间)或</td><td width="366">[buff:剑神无我;tmbuff:急曲]</td><td width="285">自己有剑神并或对方身上有自己的急曲</td></tr><tr><td width="57">2</td><td width="50"><strong>,</strong></td><td width="46"></td><td width="169">(多个条件间)且</td><td width="366">[buff:剑神无我,tmbuff:急曲]</td><td width="285">自己有剑神并且对方身上有自己的急曲</td></tr><tr><td width="57">3</td><td width="50"><strong>!</strong></td><td width="46"></td><td width="169">(任意值)非</td><td width="366">[!buff:剑神无我;tmbuff:急曲]</td><td width="285">自己身上没有剑神无我,或者对方身上有自己的急曲</td></tr><tr><td width="57">4</td><td width="50">|</td><td width="46"></td><td width="169">(多个参数间)或</td><td width="366">[buff:春泥护花|天地低昂]</td><td width="285">自己身上有春泥或者天地</td></tr><tr><td width="57">5</td><td width="50">&</td><td width="46"></td><td width="169">(多个参数间)且</td><td width="366">[buff:春泥护花&清心静气]</td><td width="285">自己身上有春泥和天地</td></tr><tr><td width="57">6</td><td width="50">>=</td><td width="46"></td><td width="169">(数值间比较)大于等于</td><td width="366">[bufftime:剑神无我>=5]</td><td width="285">注:如进行比较的变量值非数字型,一律返回flase</td></tr><tr><td width="57"></td><td width="50"><=</td><td width="46"></td><td width="169">(数值间比较)小于等于</td><td width="366">[bufftime:剑神无我<=6]</td><td width="285"></td></tr><tr><td width="57"></td><td width="50">></td><td width="46"></td><td width="169">(数值间比较)大于</td><td width="366">[bufftime:剑神无我>7]</td><td width="285"></td></tr><tr><td width="57"></td><td width="50"><</td><td width="46"></td><td width="169">(数值间比较)小于</td><td width="366">[bufftime:剑神无我<8]</td><td width="285"></td></tr><tr><td width="57"></td><td width="50">~=</td><td width="46"></td><td width="169">(值比较)不等于</td><td width="366">[tmbuff:急曲~=3]</td><td width="285">可对所有类型的变量进行比较!</td></tr><tr><td width="57"></td><td width="50">=</td><td width="46">==</td><td width="169">(值比较)等于</td><td width="366">[tmbuff:急曲=3]</td><td width="285"></td></tr><tr><td width="57">7</td><td width="50">+</td><td width="46"></td><td width="169">(数值运算)加</td><td width="366">[3+4+5+bufftime:剑神无我]</td><td width="285"></td></tr><tr><td width="57"></td><td width="50">-</td><td width="46"></td><td width="169">(数值运算)减</td><td width="366">[6-3-2-life]</td><td width="285"></td></tr><tr><td width="57">8</td><td width="50">%</td><td width="46"></td><td width="169">(数值运算)求余</td><td width="366">[123%100]</td><td width="285">123除以100的余数,得23</td></tr><tr><td width="57">9</td><td width="50">*</td><td width="46">×</td><td width="169">(数值运算)乘</td><td width="366">[life*100]</td><td width="285"></td></tr><tr><td width="57"></td><td width="50">/</td><td width="46">÷</td><td width="169">(数值运算)除</td><td width="366">[life/100]</td><td width="285"></td></tr><tr><td width="57">10</td><td width="50"><strong>:</strong></td><td width="46"></td><td width="169">(表达式)参数传递</td><td width="366">[buff:剑神无我]</td><td width="285"></td></tr><tr><td width="57">11</td><td width="50">( )</td><td width="46"></td><td width="169">(表达式)括号</td><td width="366">[(buff:春泥护花;bufftime:天地低昂>5),v_a>123]</td><td width="285">改变优先级用</td></tr><tr><td colspan="6" width="975">备注:按结合优先级从低到高排列,优先级高的将优先结合,同级按从左到右结合!</td></tr><tr><td colspan="6" width="975">注1:>= , <= , ~= , > , < , =这六个用于大小比较的符号,可以使用连续比较形式如: [ a>b<c=e ]他在逻辑上的意义完全等同于 [a>b,b<c,c=e]</td></tr></table><br />
摘要
第二章·第1节:常用命令与参数运算符号 主稿:YYL ∕ 修订:Jachou 常用命令/Cast 或 /Skill 释放技能语法:/skill 技能名称或ID/cast 技能名称或ID /Use 或 /Skill 使用物品语法:/use 腰坠 (腰坠可以包含所 ...
聚合标签
原创
热点
组图
爆料
头条
幻灯
滚动
推荐
添加相关文章
选择
提交
显示分页导航
您当前使用的浏览器版本过低,网站部分功能可能失效,请更换合适的浏览器。
了解更多
返回顶部