5、爪击+撕碎:
当能量大等于 60 时使用撕碎,小于 60 时使用爪击。通常在BOSS战DPS时使用。
/Script if (UnitMana("
layer")>=60) then CastSpellByName("撕碎");else CastSpellByName("爪击")end
6、攻击+爪击:
( 发挥 补充)能量如果小于 37 则普通攻击,大于 37 则爪击。
/script if (UnitMana("player")<37) then CastSpellByName("攻击");else CastSpellByName("爪击")end
7、突袭+扫击:
( 发挥 补充)如果潜行则使用突袭,否则使用扫击。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff("player",x),"Ambush"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("突袭");else CastSpellByName("扫击")end
8、猫形态+凶猛神像:
人形态下,按 1 下是变猫, 2 下是换上凶猛神像;猫形态下是换上凶猛神像。(漠铭骑喵制作)[ 红字部分是UseContainerItem(背包编号,格子编号)。 请把[凶猛神像]放在最原始的 16 格包的第一行从左往右第 2 格的位置上。
PS:背包编号:从左到右:4,3,2,1,0。 就是说,你一开始就有的 16 格行囊是 0 号背包。
背包格子编号:第一行从左到右:1,2,3,4 (注意从 1 开始的) ;第二行从左到右:5,6,7,8 依此类推……
/script local c,s,i,f,n,a,_=CastSpellByName,"猎豹形态";for i=1,GetNumShapeshiftForms() do _,n,a,s=GetShapeshiftFormInfo(i);if n==s then break;end;end;if a==1 then UseContainerItem(0,2);else c(s);end;
(三)任何形态通用
1、人形宏:
判断如果不是人形态,则恢复人形态。可在任何形态下使用。
/script local i,a,_;for i=1,GetNumShapeshiftForms() do _,_,a=GetShapeshiftFormInfo(i);if a then CastShapeshiftForm(i);break;end;end;
恢复篇:
1、树皮+宁静:
判断是否有树皮,没有则放树皮,有则放宁静。简而言之,点一下是树皮, 2 下是树皮+宁静。
/script x=1;found=0;while(UnitBuff("player",x)) do if(string.find(UnitBuff("player",x),"StoneClaw"))then found=1;end;x=x+1;end;
/script if(found==1)then CastSpellByName("宁静(等级 3)");else CastSpellByName("树皮术")end
2、激活:
先判断,如果目标敌对/是NPC/没有目标/是没蓝职业 都给自己使用激活;如果目标是有蓝职业则
给对放激活。使用完激活自动返回上一目标。
/script x=UnitClass("target");if (not UnitIsFriend("player","target") or (UnitManaMax
("target")<200 and x~="Druid")) then TargetUnit("player");end;CastSpellByName("激
活");TargetLastTarget();
3、自然迅捷+治疗之触:
只需要按一下,但是偶尔也需要 2 下(比如延迟高)。(light_arm 修改)
/script SpellStopCasting()
/施放 自然迅捷
/script SpellStopCasting()
/施放 治疗之触(等级 11)
4、回春术+迅捷治愈:
有回春效果则放迅捷治愈,没有则放回春.
/Script x=1;found=0;while(UnitBuff("target",x)) do if(string.find(UnitBuff("target",x),"Rejuvenation"))then found=1;end;x=x+1;end;
/Script if(found==1)then CastSpellByName("迅捷治愈");else CastSpellByName("回春术(等级 11))")end
5、治疗之触:
(1)根据目标血量判断是使用最大等级的治疗之触,还是刷 4 级触(去血少于1200)。
/cast 治疗之触
/script if UnitIsFriend("layer","target") then if UnitAffectingCombat("target") then if
((UnitHealthMax("target"))-(UnitHealth("target"))<1200) then CastSpellByName("治疗之触(等级 4)");end;end;elseif SpellIsTargeting() then TargetUnit("layer");end
(2)根据目标血量判断使用哪个等级的治疗之触。
/script H=UnitHealthMax("target")-UnitHealth("target");S= {41,98,213,394,617,799,1004,1285,1621,2010,2496};
/script for j=11,1,-1 do if (H>=S[j]) then CastSpellByName("治疗之触(等级 "..j..")"); break;end;end;
(举报)