乌龟服吧 关注:21,491贴子:260,973

分享骑士一键宏以及解决宏使用不了的问题

只看楼主收藏回复

本人小骑士还在升级的路上,年级大了想偷懒,所以就根据网上各种大神的宏经过自己的改动裁剪,变成了自用的一件宏,一是想分享给大家,二是希望大神帮忙优化一下,感谢!
主宏∶
/script RunMacro("攻击")
/script local m,h=math.floor(UnitMana("player")/UnitManaMax("player")*100),math.floor(UnitHealth("player")/UnitHealthMax("player")*100);if not buffed("圣印") and not buffed("圣光审判","target") then cast("光明圣印");else if not buffed("圣光审判","target") and (GetActionCooldown(49)==0) and buffed("光明圣印") then cast("审判");else if buffed("正义圣印") and m>=70 and (GetActionCooldown(49)==0) then cast("审判");else if not buffed("圣印") and h>50 then cast("正义圣印");else if not buffed("光明圣印")and h<50 then cast("光明圣印")end;end;end;end;end
/script RunMacro("神盾")
/script if not buffed("智慧祝福", 'player') then cast("智慧祝福",1);end
/script local m,g=math.floor(UnitMana("player")/UnitManaMax("player")*100),GetActionCooldown(64);if m>=50 and g==0 then cast("神圣打击");end
另外设置一个神圣之盾宏,宏要取名"神盾",需调用
/script local m,h=math.floor(UnitMana("player")/UnitManaMax("player")*100),math.floor(UnitHealth("target")/UnitHealthMax("target")*100);if(UnitAffectingCombat("player")==1) and (GetActionCooldown(51)==0) and m>=80 then CastSpellByName("神圣之盾");end
另外设置一个自动攻击宏,宏取名"攻击",需调用
/script if ( not PlayerFrame这里加个点inCombat ) then CastSpellByName("攻击") end
(贴吧编辑问题,这里面有个.的符号,直接复制只显示网页链接几个字)
功能∶先挂光明审判(后期学了智慧改智慧),切正义圣印,蓝量高于70%打审判,高于50%打神圣打击,高于80%神圣之盾,血量低于50切光明圣印,自动补智慧祝福
插件∶插件是重中之重!!很多人实现不了就是插件问题,4大宏插件必须下载,分别是①classicmacro ②supermacro ③RoidMacros ④isbuffactive,其中②supermacro必须使用3.18版本,经过大神提示黑兔可以下载,龟壳的不行另外的三个插件都可以直接下载龟壳上的
备注∶这个宏只是提供一个框架,里面很多东西都可以根据自己的需要更改,也可以删除一些你们觉得没必要的功能,这个宏也能衍生出很多,包括群拉宏,嘲讽宏等等


IP属地:广西来自iPhone客户端1楼2023-09-27 10:13回复
    有惩戒骑的吗自动5层十字军打击


    IP属地:辽宁2楼2023-09-27 10:38
    收起回复
      你这个是防骑的嘛


      IP属地:浙江4楼2023-09-27 14:17
      收起回复
        好几个类似的帖子,也不放精华,每个都得收藏。以后别人找起来也费劲


        IP属地:吉林来自iPhone客户端5楼2023-09-27 14:23
        回复
          这还有灵魂吗


          IP属地:广东来自Android客户端6楼2023-09-27 14:33
          回复
            编辑一起好像不能用 有没有一键宏


            IP属地:河南7楼2023-09-28 14:50
            收起回复
              这么多?怎么是一健?


              IP属地:湖北来自Android客户端8楼2023-09-28 18:03
              收起回复
                楼主,我会一直关注你的


                IP属地:河北9楼2023-09-28 21:27
                回复
                  楼主,求下插件下载地址


                  IP属地:河北10楼2023-09-28 21:28
                  收起回复
                    求问一下楼主 超级宏到底怎么用啊 我超级宏拖不下来 然后网上说要普通宏调用 弄了一下还是不太会 求教楼主指点一下啊


                    IP属地:安徽11楼2023-09-29 22:00
                    收起回复
                      谢谢,无私奉献


                      IP属地:广东来自Android客户端12楼2023-09-29 23:51
                      回复
                        /script if ( not PlayerFrame这里有个点inCombat ) then CastSpellByName("攻击") end
                        /script local m,h=math.floor(UnitMana("player")/UnitManaMax("player")*100),math.floor(UnitHealth("target")/UnitHealthMax("target")*100);if not buffed("圣印") and not buffed("智慧审判","target") then cast("智慧圣印");else if not buffed("智慧审判","target") and (GetActionCooldown(49)==0) and buffed("智慧圣印") then cast("审判");else if buffed("智慧审判","target") and (GetActionCooldown(49)==0) and buffed("智慧圣印") and m>80 and h>30 then cast("审判");else if buffed("正义圣印") and (GetActionCooldown(49)==0) and h>30 then cast("审判");else if not buffed("圣印") and m>50 then cast("正义圣印");else if not buffed("圣印") and m<50 then cast("智慧圣印")end;end;end;end;end;end
                        /script if not buffed("智慧祝福", 'player') then cast("智慧祝福",1);end
                        /script local m,g=math.floor(UnitMana("player")/UnitManaMax("player")*100),GetActionCooldown(64);if m>=50 and g==0 then cast("神圣打击");end


                        IP属地:广西来自iPhone客户端16楼2023-09-30 02:22
                        收起回复
                          这个是带智慧审判的简单版宏,考虑到调用宏太麻烦,现在我弄成直接复制这一个宏即可,只需要改(GetActionCooldown(49)==0)里面的49为你的审判技能所在的技能栏编号即可


                          IP属地:广西来自iPhone客户端18楼2023-09-30 02:30
                          收起回复
                            如果这个宏想要实现叠5层十字军,那可以这样写(不太建议,很耗蓝):
                            /script if ( not PlayerFrame这里有个点inCombat ) then CastSpellByName("攻击") end
                            /script local m,h=math.floor(UnitMana("player")/UnitManaMax("player")*100),math.floor(UnitHealth("target")/UnitHealthMax("target")*100);if not buffed("圣印") and not buffed("智慧审判","target") then cast("智慧圣印");else if not buffed("智慧审判","target") and (GetActionCooldown(49)==0) and buffed("智慧圣印") then cast("审判");else if buffed("智慧审判","target") and (GetActionCooldown(49)==0) and buffed("智慧圣印") and m>80 and h>30 then cast("审判");else if buffed("正义圣印") and (GetActionCooldown(49)==0) and h>30 then cast("审判");else if not buffed("圣印") and m>50 then cast("正义圣印");else if not buffed("圣印") and m<50 then cast("智慧圣印")end;end;end;end;end;end
                            /script if not buffed("智慧祝福", 'player') then cast("智慧祝福",1);end
                            /script local m,g=math.floor(UnitMana("player")/UnitManaMax("player")*100),GetActionCooldown(64);if m>=50 and g==0 then cast("神圣打击");end
                            /script local c,i,d,n,f=CastSpellByName;for i=1,16 do d,n=UnitDebuff("target",i);if d and strfind(d,"CrusaderStrike") then f=1;break;end;end;if f and n>=5 then RunMacro("攻击") else c("十字军打击") end


                            IP属地:广西来自iPhone客户端19楼2023-09-30 03:01
                            收起回复
                              卧槽,牛逼马克


                              IP属地:山东来自Android客户端20楼2023-09-30 05:03
                              回复