副本状态通用宏
云端ID 32603 作  者 最近更新20140629 代码类型超级宏 本周热度59 作者专栏
<一定要点这复制宏代码>
  1. #name 副本子宏
  2. #tip 副本子宏,随便用的
  3. #icon 1525
  4. #delay 1
  5. #varnum v_扶摇模式,3,tip:扶摇模式|智能扶摇&后跳|一直扶摇|关闭,icon:1485|1485|3319|3575
  6. #varbool v_智能转火,icon:4519
  7. #varbool v_tab,tip:自动TAB选怪(没有目标或持续2秒以上打不到当前目标时),icon:4564,off
  8. #varbool v_非战斗不开怪,off,icon:4501
  9. #varbool v_腰坠,icon:2841
  10. /if [v_智能转火]
  11. /tab [tpre:净与无净|噬血影|一阳指?二品|无懈可击|天音化物|龙甩尾|火舞金钢|怒吼|急行军|绞喉|寒月逐命] npc,dismin
  12. /tab [tplate:乾坤剑意] npc,lifemax
  13. /tab [(tplate:|金龙渊;tplate:鸢戾天,tlife<0.7),tmfront,dis<20] npc,lifemin
  14. /tab [dis<20,tmfront,tarisem,tname:击鼓手|傀儡碎片|祆教使者|狼牙军官|狼牙冲锋兵|喷火狼牙兵|狼牙冲锋弓兵|追魂戟真气|靛云|圣狼灵|金龙渊&|鸢戾天&|龙胆蛇|泰拳手|枪斧兵|愁城] npc,dismin
  15. /end
  16. /if [v_tab,(notar;now>v_打不到+1,mana>0.05)]
  17. /tab [tar:boss,dis<20,tmfront,tarisem,!tprop] npc,dismin
  18. /tab [tarisem,tlife<1,dis<20,tmfront,!tprop] npc,dismin
  19. /tab [tarisem,dis<20,tmfront,!(tbuff:2614|1036;tpropnpc;tplate:投石车巨石|腐骨|滚石|燃烧|战旗)] npc,dismin
  20. /end
  21. /var [(fight;!fight,!v_非战斗不开怪),tarisem,!(tplate:追命箭矢|???;tpre:星斗剑法;tbuff:金蛇盘巢|破剑八刀|狸型之体|铁壁;buff:痛血指;tplate:无名,tbuff:荆棘,lifeleft<40000;tbuff:暗影之力,lifeleft<45000)] v_允许攻击
  22. /if [v_腰坠]
  23. /if [tplate:无名,0.5<tlife<0.65;tplate:乌蒙贵,tlife>0.6,tnobuff:虚弱;tplate:李倓,tlife<0.3,tnobuff:虚弱;tplate:沙叱博,0.3<tlife<0.7]
  24. /var [true] v_预留爆发
  25. /end
  26. /if [nofight;fight<60;tbuff:光照|锁神|虚弱;fight,!mapc:皇宫|大明宫|烛龙殿;tplate:]
  27. /var [false] v_预留爆发
  28. /end
  29. /var [(tmbuff:711,10;0)+(tmbuff:714,10;0)+(tmbuff:666,10;0)+(buff:梦歌*2;0)+(buff:青冠*2;0)] v_自身因素
  30. /var [(tbuff:光照|锁神|虚弱,200;0)+(tbuff:|壁垒,tnobuff:锁神,-50;0)+(tplate:乾坤剑意|贪吃的老鼠|屋顶漏洞|追魂戟真气|,400;0)+(emdis:10>5,10;0)] v_目标因素
  31. /var [(buff:破苍穹,3;0)+(bufftime:金刚怒目/2;0)+(buff:朝圣,10;0)+(buff:九宫八卦五阵*1;0)+(buff:夺命蛊,10;0)] v_队友因素
  32. /var [(tplate:无名,tlife>0.65,tnobuff:,30;0)+(!tplate:boss,tlifeleft<1000000,-30;0)+(tbuff:影遁,-300;0)+(mapc:华清宫|一线天|流离岛,10;0)] v_其他因素
  33. /var [!v_预留爆发,(v_自身因素+v_目标因素+v_队友因素+v_其他因素)] v_总分
  34. /end
  35. /var [v_腰坠,v_总分>=50] v_支持爆发
  36. /if [v_扶摇模式=1]
  37. /skill [tpre:皇之怒|狼之怒|藏离精失|九鼎天怒式] 打断,扶摇直上
  38. /cast [(buff:沙暴|火星;tcast:狼之怒>50;tplate:独孤问俗,tlife<0.1;tplate:头狼,fight>15;tbuff:白昼;tplate:李倓,tlife>0.2;mapc:大明宫,tplate:安禄山,(tlife>0.7;tlife<0.12);tplate:沙叱博,(tlife<0.31;0.7<tlife<0.72);tplate:地字一号,tlife<0.3),!ota,!(tmbufftime:急曲<2,sklv:千里冰封=1)] 扶摇直上
  39. /cast [tpre:掷锤>0.6,!buff:镇山河;tpre:力拔千钧>0.6,dis<10] 后撤
  40. /end
  41. /skill [v_扶摇模式=2] 扶摇直上
  42. /skill qte
分类:通用宏
标签:
标识:/cloud/32603