主要贡献者:黑手,kook其他大佬也贡献了很多!
在此鸣谢 黑手 等写宏大佬!
![insidious_turtle insidious_turtle](./images/smilies/insidious_turtle_head.png)
![hiding_smth_turtle_head hiding_smth_turtle_head](./images/smilies/hiding_smth_turtle_head.png)
![insidious_turtle insidious_turtle](./images/smilies/insidious_turtle_head.png)
![angry_turtle angry_turtle](./images/smilies/angry_turtle.png)
![insidious_turtle insidious_turtle](./images/smilies/insidious_turtle_head.png)
![hiding_smth_turtle hiding_smth_turtle](./images/smilies/hiding_smth_turtle.png)
![happy_turtle_head happy_turtle_head](./images/smilies/happy_turtle_head.png)
![happy_turtle happy_turtle](./images/smilies/happy_turtle.png)
![hiding_smth_turtle hiding_smth_turtle](./images/smilies/hiding_smth_turtle.png)
![hiding_smth_turtle_head hiding_smth_turtle_head](./images/smilies/hiding_smth_turtle_head.png)
![insidious_turtle insidious_turtle](./images/smilies/insidious_turtle_head.png)
![angry_turtle angry_turtle](./images/smilies/angry_turtle.png)
![angry_turtle angry_turtle](./images/smilies/angry_turtle.png)
![insidious_turtle insidious_turtle](./images/smilies/insidious_turtle_head.png)
![hiding_smth_turtle hiding_smth_turtle](./images/smilies/hiding_smth_turtle.png)
![happy_turtle_head happy_turtle_head](./images/smilies/happy_turtle_head.png)
1. 毁灭撕碎宏。隐形状态按 毁灭,非隐 撕碎。
拓展说明:此宏可以把对应状态的技能汉字换成该状态的别的技能,依然成功。例如毁灭换突袭,撕碎换撕扯等。
/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;
2. 熊状态挫志,猫状态撕碎,人状态愈合。
拓展说明:此宏可以把对应状态的技能汉字换成该状态的别的技能,依然成功。
/script local n,s,k,j,d,f={"BearForm","CatForm","Regeneration"},{"挫志咆哮","撕碎","愈合"};for k=1,3 do f=nil;for j=1,16 do b=UnitBuff("player",j);if b and strfind(b,n[k]) then f=1;break;end;end;if f then CastSpellByName(s[k]);break;end;end;
3. 自动监测猛虎buff,没有猛虎放猛虎,有猛虎放撕碎。
拓展说明:可以把撕碎换成其他技能汉字。
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"eTiger")then f=1;break;end;end;if not f then c("猛虎之怒")else c("撕碎");end
4. 一键给小队没有野性印记的家伙加印记
/script local i,j,b,f,p;for i=1,4 do f=nil;p="party"..i;if CheckInteractDistance(p,4) then for j=1,16 do b=UnitBuff(p,j);if b and strfind(b,"Regeneration") then f=1;break;end;end;if not f then TargetUnit(p);CastSpellByName("野性印记");break;end;end;end
5. 自动攻击+爪击。需要把 攻击 从技能书拉出来放到动作条任意位置上。
/script for i=1,120 do if IsAttackAction(i)then if not IsCurrentAction(i)then UseAction(i);end;end;end
/script CastSpellByName("爪击")
6.形态宏
(1)人形态变熊, 其他任何形态则变回人形
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("","yell");c(1);elseif s~=1 then c(s);end;
(2)人形态变猫,其他任何形态则变回人形
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("","yell");c(3);elseif s~=3 then c(s);end;
(3)变身海豹(在水中才有效)其他任何形态则变回人形(在水中时)
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("","yell");c(2);elseif s~=2 then c(s);end;
(4)变身旅行形态
/script local c,s,i,a,_=CastShapeshiftForm;for i=1,6 do _,_,a=GetShapeshiftFormInfo(i);if a then s=i;break;end;end;if not s then SendChatMessage("","yell");c(4);elseif s~=4 then c(s);end;
其他宏持续更新中。
ps:输出和pvp不解就问 Nemseistalkr
宏不解就问 黑手