仔细看说明,不要无脑复制粘贴报错没法用。卡顿报错就删了宏,重新载入插件。
1.基础插件:classicmacro、supermacro、RoidMacros、isbuffactive,其中supermacro(必须使用3.18版本,龟壳那个好像不行)
时间轴插件:推荐下载AttackBar插件,他的时间判定跟SP相反,可以看评论区置顶。
2.新建超级宏,从简介复制粘贴宏,命名
3.新建普通宏 /script RunMacro("超级宏名称") 调用超级宏
惩戒骑一键宏:
/startattack
/script A =GetSpellCooldown;
/script C =CastSpellByName;
/script h =UnitHealth("target")/UnitHealthMax("target");
/script m =UnitMana("player")/UnitManaMax("player");
/script combat =UnitAffectingCombat("player");
/script if IsBuffActive("智慧圣印", "player") then C("审判"); end;
/script if not IsBuffActive("智慧审判", "target") then C("智慧圣印"); end;
/script if not IsBuffActive("命令圣印", "player") then C("命令圣印(等级 1)"); end;
/script if IsBuffActive("十字军圣印", "player") then C("审判"); end;
/script if A(43,"spell")==0 and not IsBuffActive("十字军圣印", "player") and GetTime()-Abar_Mhr.st>0.2 and GetTime()-Abar_Mhr.st<0.4 then C("十字军圣印"); end;
/script if m>0.1 then C("神圣打击"); end
/script if GetTime()-Abar_Mhr.st<1.9 and m>0.8 then C("驱邪术"); end
/script if GetTime()-Abar_Mhr.st<1.9 and m>0.9 then C("奉献"); end
/script if GetTime()-Abar_Mhr.st>0.2 and GetTime()-Abar_Mhr.st<2 and m>0.7 then C("十字军打击"); end;
/script if GetTime()-Abar_Mhr.st>0.2 and GetTime()-Abar_Mhr.st<2 and m<0.7 then C("十字军打击(等级 1)"); end;
以3.4秒的武器为例,有的up主推荐打圣印舞,也就是说最后0.4秒打十字军圣印审判,十字军圣印改成如下内容:
/script if GetSpellCooldown(43,"spell")==0 and not IsBuffActive("十字军圣印", "player") and GetTime()-Abar_Mhr.st>3 and GetTime()-Abar_Mhr.st<3.4 then C("十字军圣印"); end;
但是乌龟服圣印审判触发的风怒只是把普攻重置类似qaq,而不是平砍完送一次普攻,3秒的时候触发风怒,这次风怒只提升0.4秒。
最终使用圣印舞手法还是平砍完等0.2秒打圣印审判大家可以根据测试结果评论区留言。
为了不无脑十字军圣印,需要根据审判是否冷却完成打十字军圣印。GetSpellCooldown命令许愿用到技能书id,下面的宏可以查审判技能书id=43。spell是技能,pet是宝宝技能。
/script local s,i,n="审判",1;while 1 do n=GetSpellName(i,"spell");if n then if strfind(n,s) then ChatFrame1:AddMessage(i);break;end;i=i+1;else break;end;end;