请问WOW小D的JJC宏和野外打怪SOLO宏~谢谢高手指点了~

2025-04-12 01:59:39
推荐回答(1个)
回答1:

第一个
/script local i,j,b,f,p;for i=1,40 do f=nil;p="raid"..i;if UnitIsVisible(p) then for j=1,16 do b=UnitBuff(p,j);if b and strfind(b,"Regen") then f=1;break;end;end;if not f then TargetUnit(p);CastSpellByName("野性印记");break;end;end;end;
自动给团队里面没有野性印记的人补一个野性印记,不用在一个一个的找人了,也可以换成野性赐福。
第二个
/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
给目标加个回春,如果目标身上已经有回春了就使用迅捷治愈,可以有效的节约我们的空格位置。
第三个--我最喜欢的
/script SpellStopCasting()
/施放 自然迅捷
/script SpellStopCasting()
/施放 治疗之触(等级 11)
/script SendChatMessage("超大治疗→仇恨","whisper",this.language,UnitName("target"))
自然迅捷和治疗之触一起放出来,并且对目标说悄悄话请他注意拉住仇恨,每次点这个技能的时候都象发射炮弹一样,被我加过的目标都说很爽特别是我们的MT 。
第四个
/script if (UnitName("Target") ~=nil and UnitIsFriend("player","Target")) then CastSpellByName("复生");SendChatMessage("帅哥,快起来吧,前面还有很多好装备在等着我们呢.... ","Whisper","兽人语",UnitName"Target"); end
/Y 复活吧 ★%t★ 额就是你D神
复活你的目标.并且告诉身边的人,对目标说悄悄话他可以起来了。
第五个
/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次-第一次有树皮就放树皮,在点一次就放宁静
/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("飓风");else CastSpellByName("树皮术")end
跟上一个一样只不过宁静换成了飓风
第六个
/施放 激活
/script SendChatMessage("激活-激活-注意囬蓝","whisper",this.language,UnitName("target"))
激活目标并告诉他注意回蓝