说明

附带插件 下载:SuperMacro-3.18.zip

如果你使用整合包,可能已经自带超级宏,可以不用下载

有的插件不允许超级宏直接拖动使用,需要创建一个基础宏调用超级宏

/script RunMacro("超级宏名称");

圣骑士

/script --惩戒骑一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script M=UnitMana("player")/UnitManaMax("player");

/script Y=UnitName("targettarget")==UnitName("player");

/script SPR=GetSpellCooldown(GetSpellIndex("审判"),"spell")==0;

/script DJR=GetSpellCooldown(GetSpellIndex("神圣打击"),"spell")==0;

/script FNR=GetSpellCooldown(GetSpellIndex("愤怒之锤"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not B("庇护祝福","player") then C("庇护祝福");end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if PH<0.2 then use("强效治疗药水");end;

/script if H<0.2 and FNR and not Y then C("愤怒之锤");end;

/script local t=UnitCreatureType("target");if t=="亡灵" or t=="恶魔" then C("驱邪术");end;

/script if not B("神圣之盾","player") then C("神圣之盾");end;

/script if not B("智慧圣印","player") then C("智慧圣印");end;

/script if MyBuff("狂热") then local index=GetPlayerAuraIndex("狂热") timeleft= GetPlayerBuffTimeLeft(index) counts=GetPlayerBuffApplications(index) else timeleft=0 counts=0 end

/script if timeleft<15 or counts<3 then CastSpellByName("十字军打击") else CastSpellByName("神圣打击") end

/script if DJR then C("神圣打击");end;

/script if not (B("光明审判","target") or B("智慧审判","target")) and SPR then C("审判");end;

/script if not Y then C("清算之手");end;

圣骑士2

/script --惩戒骑一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script M=UnitMana("player")/UnitManaMax("player");

/script Y=UnitName("targettarget")==UnitName("player");

/script SPR=GetSpellCooldown(GetSpellIndex("审判"),"spell")==0;

/script DJR=GetSpellCooldown(GetSpellIndex("十字军打击"),"spell")==0;

/script FNR=GetSpellCooldown(GetSpellIndex("愤怒之锤"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not (B("智慧祝福","player") or B("力量祝福","player")) then C("智慧祝福");end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if PH<0.2 then use("优质治疗药水");end;

/script if M<0.2 and not (B("智慧圣印","player") or B("命令圣印","player")) then C("智慧圣印");end;

/script if H<0.2 and FNR and not Y then C("愤怒之锤");end;

/script local t=UnitCreatureType("target");if t=="亡灵" or t=="恶魔" then C("驱邪术");end;

/script if M<0.35 and not B("智慧审判","target") and not (B("智慧圣印","player") or B("命令圣印","player")) then C("智慧圣印");end;

/script if M>0.35 and not (B("十字军审判","target") or B("智慧审判","target")) and not B("十字军圣印","player") then C("十字军圣印");end;

/script if (B("十字军审判","target") or B("智慧审判","target")) and not (B("命令圣印","player") or B("智慧圣印","player")) then C("命令圣印");end;

/script local buffIndex=GetPlayerAuraIndex("神圣威能") if not buffIndex then SSL=0;else SSL=GetPlayerBuffTimeLeft(buffIndex);end;

/script if SSL<8 and DJR then C("神圣打击");end;

/script local i;for i=1,32 do name,count=UnitBuff("player",i);KRL=GetPlayerBuffTimeLeft(i-1);if name and strfind(name,"CrusaderStrike") then break;end;end;

/script if (KRL<8 or count<3) and DJR then C("十字军打击");end;

/script if SPR then C("审判");end;

盗贼

/script --盗贼伏击天赋升级宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script P=GetComboPoints();

/script R=UnitCreatureType("target")=="人型生物";

/script M=UnitMana("player");

/script TP=UnitName("targettarget")==UnitName("player");

/script Z=UnitAffectingCombat("player")==1;

/script _,_,QX=GetShapeshiftFormInfo(1);

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script local BT=UnitXP("behind", "player", "target");if BT and not TP and M>59 then if QX then C("伏击");else C("背刺");end;end;

/script C("突袭");

/script C("还击");

/script if TP and not B("兴奋","player") and H>0.2 and P<2 then C("兴奋");end;

/script if not B("切割","player") and H>0.2 and P<2 then C("切割");end;

/script if (P>2 or H<0.15) and M>29 then C("剔骨");end;

/script if M>39 then C("邪恶攻击");end;

盗贼2

/script --盗贼单刷一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script P=GetComboPoints();

/script R=UnitCreatureType("target")=="人型生物";

/script M=UnitMana("player");

/script TP=UnitName("targettarget")==UnitName("player");

/script Z=UnitAffectingCombat("player")==1;

/script _,_,QX=GetShapeshiftFormInfo(1);

/script GMR=GetSpellCooldown(GetSpellIndex("鬼魅攻击"),"spell")==0;

/script XFR=GetSpellCooldown(GetSpellIndex("兴奋"),"spell")==0;

/script SBR=GetSpellCooldown(GetSpellIndex("闪避"),"spell")==0;

/script YWR=GetSpellCooldown(GetSpellIndex("烟雾弹"),"spell")==0;

/script local buffIndex=GetPlayerAuraIndex("鬼魅攻击") if not buffIndex then GML=0;else GML=GetPlayerBuffTimeLeft(buffIndex);end;

/script local buffIndex=GetPlayerAuraIndex("兴奋") if not buffIndex then XFL=0;else XFL=GetPlayerBuffTimeLeft(buffIndex);end;

/script local buffIndex=GetPlayerAuraIndex("闪避") if not buffIndex then SBL=0;else SBL=GetPlayerBuffTimeLeft(buffIndex);end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if UnitHealth("player")<2000 then use("特效治疗石") use("特效治疗药水");end;

/script if P==5 and M<10 and (GML<1 or XFL<1 or SBL<1) then use("菊花茶");end;

/script if YWR and not UnitExists("target") then C("烟雾弹");end;

/script if not UnitExists("target") and not B("烟雾弹","player") then C("扰乱") CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() SpellStopTargeting();end;

/script if M>39 then C("还击");end;

/script if not GMR and not XFR and not SBR and GML<1 and XFL<1 and SBL<1 then C("伺机待发");end;

/script if SBL<1 and XFL<1 and GMR and M>39 then C("鬼魅攻击");end;

/script if PH<0.8 and GML<1 and SBL<1 and XFR and M>19 and P==5 then C("兴奋");end;

/script if PH<0.8 and GML<1 and XFL<1 and SBR then C("闪避");end;

/script if (PH>0.8 or (XFL>6 or SBL>6)) and not B("破甲","target") and M>19 and P==5 then C("破甲") use("菊花茶");end;

/script if M>19 and P<2 and not B("切割","player") then C("切割");end;

/script if not GMR and not XFR and B("破甲","target") and P>3 and M>29 then C("剔骨");end;

/script if M>39 and (GML>5 or XFL>5) then C("出血");end;

/script if M>74 then C("出血");end

盗贼3

/script --战匕贼一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script E=UnitCanAttack("player","target");

/script P=GetComboPoints();

/script M=UnitMana("player");

/script CDR=GetSpellCooldown(GetSpellIndex("冲动"),"spell")==0;

/script TB=UnitClassification("target")=="worldboss";

/script TP=UnitName("targettarget")==UnitName("player");

/script _,_,QX=GetShapeshiftFormInfo(1);

/script Z=UnitAffectingCombat("player")==1;

/script local buffIndex=GetPlayerAuraIndex("切割") if not buffIndex then QGL=0;else QGL=GetPlayerBuffTimeLeft(buffIndex);end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if CDR and B("剑刃乱舞","player") then UseInventoryItem(13) UseInventoryItem(14) C("冲动") C("感知");end;

/script if M>19 and QGL<3 and P>0 then C("切割");end;

/script C("突袭");

/script GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")) local BT=UnitXP("behind", "player", "target");if E and BT and M>59 then if (GameTooltipTextRight4:GetText()~="匕首") then UseItemByName("毁灭之刃");else C("背刺");end;end;

/script GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")) local BT=UnitXP("behind", "player", "target");if E and not BT and M>39 then if (GameTooltipTextRight4:GetText()~="匕首") then C("邪恶攻击");else UseItemByName("克鲁索洛克恩,混乱之刃");end;end;

/script if M>19 and QGL>2 and P==5 then C("剔骨");end;

/script if M>19 and QGL<5 and P>2 then C("切割");end;

盗贼4

/script --毒伤贼一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script E=UnitCanAttack("player","target");

/script P=GetComboPoints();

/script M=UnitMana("player");

/script CDR=GetSpellCooldown(GetSpellIndex("冲动"),"spell")==0;

/script TB=UnitClassification("target")=="worldboss";

/script TP=UnitName("targettarget")==UnitName("player");

/script _,_,QX=GetShapeshiftFormInfo(1);

/script Z=UnitAffectingCombat("player")==1;

/script local buffIndex=GetPlayerAuraIndex("切割") if not buffIndex then QGL=0;else QGL=GetPlayerBuffTimeLeft(buffIndex);end;

/script local buffIndex=GetPlayerAuraIndex("毒伤") if not buffIndex then DSL=0;else DSL=GetPlayerBuffTimeLeft(buffIndex);end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if M>19 and QGL<3 and P>0 then C("切割");end;

/script if M>19 and DSL<3 and P>0 then C("毒伤");end;

/script if M>19 and QGL>2 and DSL>2 and P==5 then C("剔骨");end;

/script if M>44 and (QGL>5 or DSL>5) then C("双刃毒袭");end;

/script if M>64 then C("双刃毒袭");end;

盗贼5

/script --盗贼潜行偷窃消失一键宏

/script C=CastSpellByName;

/script _,_,QX=GetShapeshiftFormInfo(1);

/script H=UnitHealth("target")/UnitHealthMax("target");

/script P=GetComboPoints();

/script R=UnitCreatureType("target")=="人型生物"

/script M=UnitMana("player");

/script Z=UnitAffectingCombat("player")==1;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if not Z and not QX then C("潜行");end;

/script if QX and R and not Z then C("偷窃");end;

/script if Z then C("消失");end;

战士

/script B=IsBuffActive;

/script TB=UnitClassification("target")=="worldboss";

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script M=UnitMana("player");

/script ST=GetTime()-Abar_Mhr.st;

/script ET=Abar_Mhr.et-GetTime();

/script GP=ST/UnitAttackSpeed("player");

/script _,_,ZD=GetShapeshiftFormInfo(1);

/script _,_,KB=GetShapeshiftFormInfo(3);

/script ZSR=GetSpellCooldown(GetSpellIndex("致死打击"),"spell")==0;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if UnitHealth("player")<1500 then if UnitName("targettarget")==UnitName("player") and B then use("有限无敌药水");else use("特效治疗石") use("特效治疗药水");end;end;

/script if M<15 then C("血性狂暴");end;

/script if not B("战斗怒吼","player") and M>9 then C("战斗怒吼");end;

/script if IsShiftKeyDown() then C("破甲攻击");end;

/script if H<0.2 and CastingBarFrame.casting then SpellStopCasting();end;

/script if H<0.2 and TB then if M<100 then C("血性狂暴");else C("感知");end;end;

/script if H<0.2 then C("斩杀");end;

/script if H>0.98 and TB then C("感知");end;

/script if H>0.19 and M>72 then C("英勇打击");end;

/script if H>0.19 and M>4 and M<26 and WHUD_Overpower_IsUseable() and (GP<0.1 or GP>0.9) then if not ZD then C("战斗姿态");else C("压制");end;end;

/script if H>0.19 and M>29 and ZSR and (GP<0.1 or GP>0.9) then C("致死打击");end;

/script if H>0.19 and ((M>14 and ST<1.8) or (M>29 and ET>1.3)) then C("猛击");end;

战士2

/script TB=UnitClassification("target")=="worldboss";

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script M=UnitMana("player");

/script _,_,ZD=GetShapeshiftFormInfo(1);

/script _,_,KB=GetShapeshiftFormInfo(3);

/script sx=GetSpellIndex("嗜血");

/script SX=6-GetTime()+GetSpellCooldown(sx,"spell");

/script SXR=GetSpellCooldown(sx,"spell")==0;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if UnitHealth("player")<1500 then if UnitName("targettarget")==UnitName("player") and B then use("有限无敌药水");else use("特效治疗石") use("特效治疗药水");end;end;

/script if not IsBuffActive("战斗怒吼","player") and M>9 then C("战斗怒吼");end;

/script if IsShiftKeyDown() then C("破甲攻击");end;

/script if H<0.2 and CastingBarFrame.casting then SpellStopCasting();end;

/script if H<0.2 and TB then C("死亡之愿") C("感知") C("血性狂暴");end;

/script if H<0.2 and (M>60 or not TB) then C("斩杀");end;

/script if H<0.2 and (UnitAttackPower("player")+208)>2000 and M>29 and M<61 and SXR then C("嗜血");end;

/script if H>0.98 and TB then C("死亡之愿") C("感知") C("血性狂暴");end;

/script if H>0.19 and M>72 then C("英勇打击");end;

/script if H>0.19 and M>4 and M<26 and WHUD_Overpower_IsUseable() then if not ZD then C("战斗姿态");else C("压制");end;end;

/script if H>0.19 and M>29 and SXR then C("嗜血");end;

/script if not IsBuffActive("乱舞","player") and M>39 and SX>1.5 then C("断筋");end;

/script local t=UnitCreatureType("target");if not (t=="元素生物" or t=="机械" or t=="nil") and H>0.19 and M>4 and M<26 and XF>2 and SX>1.5 and TB and not IsBuffActive("撕裂","target") then if not ZD then C("战斗姿态");else C("撕裂");end;end;

/script if H>0.19 and not SXR and GetTime()-Abar_Mhr.st<0.4 then C("猛击");end;

战士3

/script --狂暴双持一键宏

/script TB=UnitClassification("target")=="worldboss";

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script M=UnitMana("player");

/script _,_,ZD=GetShapeshiftFormInfo(1);

/script _,_,KB=GetShapeshiftFormInfo(3);

/script sx=GetSpellIndex("嗜血");

/script xf=GetSpellIndex("旋风斩");

/script SXR=GetSpellCooldown(sx,"spell")==0;

/script XFR=GetSpellCooldown(xf,"spell")==0;

/script SX=6-GetTime()+GetSpellCooldown(sx,"spell");

/script XF=10-GetTime()+GetSpellCooldown(xf,"spell");

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if UnitHealth("player")<1500 then if UnitName("targettarget")==UnitName("player") and B then use("有限无敌药水");else use("特效治疗石") use("特效治疗药水");end;end;

/script if not IsBuffActive("战斗怒吼","player") and M>9 then C("战斗怒吼");end;

/script if IsShiftKeyDown() then C("破甲攻击");end;

/script if H<0.2 and (UnitAttackPower("player")+208)>2000 and M>29 and M<61 and SXR then C("嗜血");end;

/script if H<0.2 then C("斩杀");end

/script if H>0.19 and M>59 then C("英勇打击");end;

/script if not KB then C("狂暴姿态");end;

/script if H>0.19 and M>29 and SXR then C("嗜血");end;

/script if H>0.19 and M>24 and SX>1.5 and XFR then C("旋风斩");end;

/script if not IsBuffActive("乱舞","player") and XF>2 and SX>1.5 and M>40 then C("断筋");end;

/script local t=UnitCreatureType("target");if not (t=="元素生物" or t=="机械" or t=="nil") and H>0.19 and M>4 and M<26 and XF>2 and SX>1.5 and TB and not IsBuffActive("撕裂","target") then if not ZD then C("战斗姿态");else C("撕裂");end;end;

战士3

/script --武器战AOE一键宏

/script C=CastSpellByName;

/script E=UnitCanAttack("player","target");

/script M=UnitMana("player");

/script _,_,ZD=GetShapeshiftFormInfo(1);

/script _,_,KB=GetShapeshiftFormInfo(3);

/script HSR=GetSpellCooldown(GetSpellIndex("横扫攻击"),"spell")==0;

/script XFR=GetSpellCooldown(GetSpellIndex("旋风斩"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if ( not PlayerFrame.inCombat ) then C("攻击");end;

/script if UnitHealth("player")<3000 then if UnitName("targettarget")==UnitName("player") and B then use("有限无敌药水");else use("特效治疗石") use("特效治疗药水");end;end;

/script if M>14 and UnitHealth("mouseover")/UnitHealthMax("mouseover")<0.2 and not UnitIsDead("mouseover") then TargetUnit("mouseover") C("斩杀");end;

/script if M<24 then C("血性狂暴");end;

/script if not IsBuffActive("横扫攻击","player") and HSR and M>9 then if not ZD then C("战斗姿态");else C("横扫攻击");end;end;

/script if E and XFR and M>24 then if not KB then C("狂暴姿态");else C("旋风斩");end;end;

/script if (not XFR and M>19) or M>44 then C("顺劈斩");end;

战士5

/script --狂暴战AOE一键宏

/script C=CastSpellByName;

/script M=UnitMana("player");

/script _,_,KB=GetShapeshiftFormInfo(3);

/script XXR=GetSpellCooldown(GetSpellIndex("血性狂暴"),"spell")==0;

/script XFR=GetSpellCooldown(GetSpellIndex("旋风斩"),"spell")==0;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy();end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if UnitHealth("player")<1500 then if UnitName("targettarget")==UnitName("player") and B then use("有限无敌药水");else use("特效治疗石") use("特效治疗药水");end;end;

/script if not KB then C("狂暴姿态");end;

/script if not IsBuffActive("狂怒") and XXR then C("血性狂暴");end;

/script if XFR and M>24 then C("旋风斩") elseif (not XFR and M>19) or M>44 then C("顺劈斩");end;

/script if not IsBuffActive("乱舞") and M>9 and M<25 then C("断筋");end;

/script if M>14 and UnitHealth("mouseover")/UnitHealthMax("mouseover")<0.2 and not UnitIsDead("mouseover") then TargetUnit("mouseover") C("斩杀");end;

战士6

/script --武器战单体一键宏

/script TB=UnitClassification("target")=="worldboss";

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script R=UnitInRaid("player");

/script M=UnitMana("player");

/script _,_,ZD=GetShapeshiftFormInfo(1);

/script _,_,KB=GetShapeshiftFormInfo(3);

/script ZSR=GetSpellCooldown(GetSpellIndex("致死打击"),"spell")==0;

/script XFR=GetSpellCooldown(GetSpellIndex("旋风斩"),"spell")==0;

/script ST=GetTime()-Abar_Mhr.st;

/script ET=Abar_Mhr.et-GetTime();

/script GP=ST/UnitAttackSpeed("player");

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if UnitHealth("player")<3000 and UnitName("targettarget")==UnitName("player") then if TB or R then use("有限无敌药水");else use("特效治疗石") use("特效治疗药水");end;end;

/script if M<15 then C("血性狂暴");end;

/script if not IsBuffActive("战斗怒吼","player") and M>9 then C("战斗怒吼");end;

/script if IsShiftKeyDown() then C("破甲攻击");end;

/script if H<0.2 then C("斩杀");end;

/script if H<0.2 and CastingBarFrame.casting then SpellStopCasting();end;

/script if H<0.2 and TB then if M<100 then C("血性狂暴");else C("感知");end;end;

/script if H>0.98 and TB then C("感知");end;

/script if H>0.19 and M>97 then C("英勇打击");end;

/script if H>0.19 and M>4 and M<26 and WHUD_Overpower_IsUseable() and (GP<0.1 or GP>0.9) then if not ZD then C("战斗姿态");else C("压制");end;end;

/script if H>0.19 and M>29 and ZSR and (GP<0.1 or GP>0.9) then C("致死打击");end;

/script if H>0.19 and M>24 and not ZSR and XFR and (GP<0.1 or GP>0.9) then if not KB then C("狂暴姿态");else C("旋风斩");end;end;

/script local t=UnitCreatureType("target");if not (t=="元素生物" or t=="机械" or t=="nil") and H>0.19 and M>4 and M<26 and TB and (GP<0.1 or GP>0.9) and not IsBuffActive("撕裂","target") then if not ZD then C("战斗姿态");else C("撕裂");end;end;

/script if H>0.19 and ((M>14 and ST<1.8) or (M>29 and ET>1.3)) then C("猛击");end;

战士7

/script --战士冲锋拦截援护一键宏

/script C=CastSpellByName;

/script E=UnitCanAttack("player","target");

/script F=UnitCanAssist("player","target");

/script R=UnitInRaid("player");

/script T=UnitExists("targettarget");

/script M=UnitMana("player");

/script Y=UnitName("targettarget")==UnitName("player");

/script cf=GetSpellIndex("冲锋");

/script lj=GetSpellIndex("拦截");

/script CF=15-GetTime()+GetSpellCooldown(cf,"spell");

/script LJ=30-GetTime()+GetSpellCooldown(lj,"spell");

/script CFR=GetSpellCooldown(cf,"spell")==0;

/script LJR=GetSpellCooldown(lj,"spell")==0;

/script _,_,ZD=GetShapeshiftFormInfo(1);

/script _,_,FY=GetShapeshiftFormInfo(2);

/script _,_,KB=GetShapeshiftFormInfo(3);

/script Z=UnitAffectingCombat("player")==1;

/script if IsAltKeyDown() then C("防御姿态");end;

/script if FY and E and T and not Y then TargetUnit("targettarget");end;

/script if F and LJR then if not FY then C("防御姿态");else C("援护");end;end;

/script if not Z and ZD and CFR then C("冲锋");end;

/script if ((not Z and M>24) or (Z and M>9)) and KB and LJR then C("拦截");end;

/script if not Z and M<61 and CFR then if not ZD then C("战斗姿态");else C("冲锋");end;end;

/script if not Z and M>9 and not CFR and LJR then if not KB then C("狂暴姿态");else C("拦截");end;end;

/script if (Z or not CFR) and (CF>0 or CF<13.5) and E and M<10 and LJR then C("血性狂暴");end;

/script if Z and M>9 and (M<61 or R) and CF>0 and CF<13.5 and E then if not KB then C("狂暴姿态");else C("拦截");end;end;

战士8

/script --防战单拉一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script CT=UnitCreatureType("target");

/script M=UnitMana("player");

/script _,_,FY=GetShapeshiftFormInfo(2);

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script FCR=GetSpellCooldown(GetSpellIndex("复仇"),"spell")==0;

/script DMR=GetSpellCooldown(GetSpellIndex("盾牌猛击"),"spell")==0;

/script ZDR=GetSpellCooldown(GetSpellIndex("震荡猛击"),"spell")==0;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if ( not PlayerFrame.inCombat ) then C("攻击");end;

/script if not IsBuffActive("战斗怒吼","player") and M>60 then C("战斗怒吼");end;

/script if not FY then C("防御姿态");end;

/script if IsAltKeyDown() then C("破甲攻击");end;

/script if M>74 then C("英勇打击");end;

/script if ZDR then C("震荡猛击");end;

/script if M>19 and DMR then C("盾牌猛击");end;

/script if M>5 and FCR then C("复仇");end;

/script local i;for i=1,32 do name,Number=UnitDebuff("target",i);if name and strfind(name,"Sunder") then break;end;end;

/script if (Number==nil or Number<5) and not DMR then C("破甲攻击");end;

/script if PH<0.99 and not B("盾牌格挡","player") and not B("强化盾牌猛击","player") and not DMR and FCR and M>34 then C("盾牌格挡");end;

/script if (PH<0.3 or IsShiftKeyDown()) and not B("盾牌格挡","player") and not B("强化盾牌猛击","player") and M>29 then C("盾牌格挡");end;

/cancelaura 强效拯救祝福

/cancelaura 强效保护祝福

/cancelaura 保护祝福

/cancelaura 神圣干涉

萨满

/script --萨满图腾一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script if not B("风怒图腾效果","player") then C("风怒图腾");end;

/script if B("风怒图腾效果","player") and not B("法力之泉","player") then C("法力之泉图腾");end;

/script if B("法力之泉","player") and not B("火舌图腾被动","player") then C("火舌图腾");end;

/script if B("火舌图腾被动","player") and not B("大地之力","player") then C("大地之力图腾");end;

法师

/script B=IsBuffActive;

/script C=CastSpellByName;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script M=UnitMana("player")/UnitManaMax("player");

/script AKR=GetSpellCooldown(GetSpellIndex("奥术溃裂"),"spell")==0;

/script AYR=GetSpellCooldown(GetSpellIndex("奥术涌动"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not (B("奥术智慧","player") or B("奥术光辉","player")) then C("奥术智慧");end;

/script if not B("魔甲术","player") then C("魔甲术");end;

/script local i,ak;for i=1,32 do name=UnitBuff("player",i);if name and strfind(name,"Blast") then ak=1 break;end;end;if not ak then C("奥术溃裂");end;

/script if M<0.15 and not B("节能施法","player") and CastingBarFrame.channeling~=1 then C("奥术飞弹(等级 3)");end;

/script if B("节能施法","player") and CastingBarFrame.channeling~=1 then C("奥术飞弹");end;

/script if B("时间融合","player") and AKR and CastingBarFrame.channeling~=1 then C("奥术溃裂")end;

/script if AYR and CastingBarFrame.channeling~=1 then C("奥术涌动")end;

/script if CastingBarFrame.channeling~=1 then C("奥术飞弹");end;

法师2

/script --法师火法宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script F=CastingBarFrame:IsVisible();

/script H=UnitHealth("target")/UnitHealthMax("target");

/script M=UnitMana("player");

/script ASR=GetSpellCooldown(GetSpellIndex("奥术涌动"),"spell")==0;

/script HYR=GetSpellCooldown(GetSpellIndex("火焰冲击"),"spell")==0;

/script RSR=GetSpellCooldown(GetSpellIndex("燃烧"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not Z and not B("奥术智慧","player") then C("奥术智慧");end;

/script if not Z and not (B("冰甲术","player") or B("魔甲术","player")) then C("冰甲术");end;

/script if RSR then C("燃烧");end;

/script if not Z or B("变形术","target") or B("冰霜新星","target") then C("炎爆术");end;

/script if ASR then C("奥术涌动");end;

/script if Z and HYR then C("火焰冲击");end;

/script local i;for i=1,32 do name,count=UnitDebuff("target",i);if name and strfind(name,"SoulBurn") then break;end;end;

/script if (count==nil or count<5) or H<0.1 then C("灼烧");end;

/script local j;for j=1,32 do name,count=UnitBuff("player",j);if name and strfind(name,"Firestarter") then break;end;end;

/script if Z and count==5 then C("炎爆术");end;

/script C("火球术");

猎人

/script --射击猎人一键宏

/script B=IsBuffActive;

/script TB=UnitClassification("target")=="worldboss";

/script C=CastSpellByName;

/script E=UnitIsEnemy("player","target");

/script H=UnitHealth("target")/UnitHealthMax("target");

/script M=UnitMana("player");

/script TP=UnitName("targettarget")==UnitName("player");

/script SD=UnitRangedDamage("player")-0.5;

/script ST=GetTime()-YaHT.lastshot;

/script ET=UnitRangedDamage("player")-0.5-GetTime()+YaHT.lastshot;

/script GP=(GetTime()-YaHT.lastshot)/(UnitRangedDamage("player")-0.5);

/script D1=CheckInteractDistance("target",1)==1;

/script JSR=GetSpellCooldown(GetSpellIndex("急速射击"),"spell")==0;

/script DCR=GetSpellCooldown(GetSpellIndex("多重射击"),"spell")==0;

/script MQR=GetSpellCooldown(GetSpellIndex("猛禽一击"),"spell")==0;

/script MYR=GetSpellCooldown(GetSpellIndex("猫鼬撕咬"),"spell")==0;

/script SBR=GetSpellCooldown(GetSpellIndex("摔绊"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if TP and TB then if D1 then C("逃脱");else C("假死");end;end;

/script if not B("强击光环","player") then C("强击光环");end;

/script if not Z and not D1 and not B("雄鹰守护","player") then C("雄鹰守护");end;

/script if Z and D1 and not TP and not B("孤狼守护","player") then C("孤狼守护");end;

/script if Z and D1 and TP and not B("灵猴守护","player") then C("灵猴守护");end;

/script if D1 and TB and JSR then C("急速射击");end;

/script if not IsAutoRepeatAction(24) then C("自动射击");end;

/script if not D1 and YaHT.shooting and DCR and GP<1 and (SD<1.8 or (SD>=1.8 and ST>1.5)) then C("多重射击");end;

/script if not D1 and YaHT.shooting and ET>0.4 then C("稳固射击");end;

/script if D1 and SBR then C("摔绊");end;

/script if D1 and MQR then C("猛禽一击");end;

/script if D1 and MYR then C("猫鼬撕咬");end;

/script C("狂怒之嚎");

/script local t,m,f,a,b,c,d=GetTime(),UnitMana("pet"),function(i,b) if ({GetPetActionInfo(i)})[7]~=b then TogglePetAutocast(i) end end; for i=1,10 do c=GetPetActionInfo(i) or ''; if c=='撕咬' then a=i elseif c=='爪击' then b=i end end if a and b then f(a,1)f(b) d=GetPetActionCooldown(a) if m >=70 or (t-d<2 and m >=45) then CastPetAction(b) end end

猎人2

/script --生存猎人一键宏

/script B=IsBuffActive;

/script TB=UnitClassification("target")=="worldboss";

/script C=CastSpellByName;

/script E=UnitIsEnemy("player","target");

/script H=UnitHealth("target")/UnitHealthMax("target");

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script M=UnitMana("player");

/script TP=UnitName("targettarget")==UnitName("player");

/script JSR=GetSpellCooldown(GetSpellIndex("急速射击"),"spell")==0;

/script QSR=GetSpellCooldown(GetSpellIndex("切碎"),"spell")==0;

/script GSR=GetSpellCooldown(GetSpellIndex("割伤"),"spell")==0;

/script MQR=GetSpellCooldown(GetSpellIndex("猛禽一击"),"spell")==0;

/script MYR=GetSpellCooldown(GetSpellIndex("猫鼬撕咬"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not (B("孤狼守护","player") or B("灵猴守护","player")) then C("孤狼守护");end;

/script if PH<0.3 and not B("灵猴守护","player") then C("灵猴守护");end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end;

/script if PH<0.3 and WSR then C("威慑");end;

/script if TB and JSR then C("急速射击");end;

/script if GSR then C("割伤");end;

/script if QSR then C("切碎");end;

/script if MQR then C("猛禽一击");end;

/script if MYR then C("猫鼬撕咬");end;

/script C("狂怒之嚎");

/script local t,m,f,a,b,c,d=GetTime(),UnitMana("pet"),function(i,b) if ({GetPetActionInfo(i)})[7]~=b then TogglePetAutocast(i) end end; for i=1,10 do c=GetPetActionInfo(i) or ''; if c=='撕咬' then a=i elseif c=='爪击' then b=i end end if a and b then f(a,1)f(b) d=GetPetActionCooldown(a) if m >=70 or (t-d<2 and m >=45) then CastPetAction(b) end end

术士

/script --恶魔术士升级宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script R=UnitInRaid("player");

/script H=UnitHealth("target")/UnitHealthMax("target");

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script M=UnitMana("player")/UnitManaMax("player");

/script TM=UnitMana("target");

/script Z=UnitAffectingCombat("player")==1;

/script if PH<0.3 then use("强效治疗石") use("强效治疗药水");end;

/script if M<0.5 then use("强效法力药水");end;

/script if M<0.05 and not IsAutoRepeatAction(24) then C("射击");end;

/script if H<0.25 and count<83 and (CastingBarFrame.channeling~=1) then C("吸取灵魂(等级 1)");end;

/script if not Z and not B("魔甲术","player") then C("魔甲术");end;

/script if not Z and PH>0.25 and M<0.75 then C("生命分流");end;

/script if H>0.25 and B("腐蚀术","target") and B("痛苦诅咒","target") and B("献祭","target") then if TM>1000 then C("吸取法力");else C("吸取生命");end;end;

/cursive curse 腐蚀术|target|refreshtime=2

/cursive curse 痛苦诅咒|target|refreshtime=2

/cursive curse 献祭|target|refreshtime=2

/script count=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local l=GetContainerItemLink(b,s) if l and string.find(l,"6265") then _,c=GetContainerItemInfo(b,s) count=count+(c or 1);end;end;end;--检测包里灵魂碎片数量

/script if count>83 then PU=PickupContainerItem D=DeleteCursorItem PU(4,28) D();end;--如果灵魂碎片数量大于83则删除第四个包里第28格物品(慎用)

/petattack

术士2

/script --术士暗毁一键宏

/script B=IsBuffActive;

/script C=CastSpellByName;

/script R=UnitInRaid("player");

/script H=UnitHealth("target")/UnitHealthMax("target");

/script PH=UnitHealth("player")/UnitHealthMax("player");

/script M=UnitMana("player")/UnitManaMax("player");

/script AYR=GetSpellCooldown(GetSpellIndex("暗影灼烧"),"spell")==0;

/script Z=UnitAffectingCombat("player")==1;

/script if not Z and PH>0.25 and M<0.75 then C("生命分流");end;

/script if not Z and not B("魔甲术","player") then C("魔甲术");end;

/script if not Z and not (B("邪能石","player") or B("法术石","player")) then use("法术石") C("制造法术石");end;

/script if UnitHealth("target")<1000 and count<83 and (CastingBarFrame.channeling~=1) then C("吸取灵魂");end;

/script if B("暗影冥思","player") then C("暗影箭");end;

/script if AYR and B("暗影易伤","target") then C("暗影灼烧");end;

/script if not Cursive:Curse("鲁莽诅咒", "target", {refreshtime=1}) then if not Cursive:Curse("腐蚀术", "target", {refreshtime=3}) then Cursive:Curse("生命虹吸", "target", {refreshtime=1});end;end;

/script if AYR and H<0.2 then C("暗影灼烧");else C("暗影箭");end;

/script count=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local l=GetContainerItemLink(b,s) if l and string.find(l,"6265") then _,c=GetContainerItemInfo(b,s) count=count+(c or 1);end;end;end;--检测包里灵魂碎片数量

/script if count>83 then PU=PickupContainerItem D=DeleteCursorItem PU(4,28) D();end;--如果灵魂碎片数量大于83则删除第四个包里第28格物品(慎用)

德鲁伊

/script B=IsBuffActive;

/script C=CastSpellByName;

/script CS=CastShapeshiftForm;

/script H=UnitHealth("target")/UnitHealthMax("target");

/script R=UnitInRaid("player");

/script M=UnitMana("player");

/script Z=UnitAffectingCombat("player")==1;

/script _,_,X=GetShapeshiftFormInfo(1);

/script if not X then CS(1) BX=GetTime();end;

/script if not Z and GetTime()-BX>1.5 then CS(1) ;end;

/script if not UnitExists("target") or UnitIsDead("target") or UnitIsFriend("player","target") then TargetNearestEnemy() end;

/script if (not PlayerFrame.inCombat) then C("攻击");end

/script if X and not (B("挫志咆哮","target") or B("挫志怒吼","target")) then C("挫志咆哮");end;

/script if X then C("槌击");end

德鲁伊2

/script B=IsBuffActive;

/script C=CastSpellByName;

/script if not B("虫群","target") then C("虫群术");end;

/script if not B("月火术","target") then C("月火术");end;

/script if B("月蚀","player") then C("星火术");end;

/script C("愤怒");

噻的拼音、解释、组词、笔顺、笔画、五笔、繁体字
手机不能无线充电怎么办?