当前位置:问百问>百科词条>魔兽小德宏

魔兽小德宏

2025-02-23 17:14:08 编辑:zane 浏览量:595

魔兽小德宏

的有关信息介绍如下:

魔兽小德宏

1.在目标没有BUFF野性印记的情况下,对目标使用野性印记。否则,使用荆棘术。  /script x=1;found=0;while(UnitBuff("player",x))do if(string.find(UnitBuff("player",x),"Regeneration"))then found=1;end;x=x+1;end;/script if(found==1)then CastSpellByName(" 荆棘术(等级 4)" );else CastSpellByName(" 野性印记(等级 5)" );end  这是一个判断目标BUFF的宏,此宏种buff为Regeneration(野性印记),值得注意的是buff的名称只能为E文。  2.这个宏绝对是野性德必备的宏,可以大大拉进我们跟贼的距离啊  潜行释放毁灭,不潜行释放撕碎!  /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(" 毁灭(等级 2)" );else CastSpellByName(" 撕碎(等级 3)" );end END  3.熊形态下冲锋,豹形态下潜行  /script x=1;found=0;while(UnitBuff("player",x )) do if(string.find (UnitBuff("player",x ),"CatForm" ))then found=1;end;x=x+1;end;/script if(found==1)then CastSpellByName(" 潜行(等级 2)" );else CastSpellByName(" 野性冲锋");end END  4.HP大于40%用撕扯,反之用凶猛撕咬  /script if(UnitHealth("target")>40) then CastSpellByName("撕扯(等级 3)" ) else CastSpellByName (" 凶猛撕咬(等级 2)" ); end END  5.施放激活并提醒  /script if (UnitName("Target") ~=nil and UnitIsFriend("player","Target")) then CastSpellByName("激活");SendChatMessage("已经对你施放《激活》,20秒内法力恢复速度400%,请注意!","Whisper","通用语",UnitName"Target"); end  /Y 我已对%t施放激活,请注意!  再补充几个非常不错的宏。我一直在用。  第一个  /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'))  激活目标并告诉他注意回蓝  第七个  /Target 图腾  /cast 月火术(等级 3)  /Script TargetLastEnemy()  月火打图腾  你补充的那个问题,我在网上一直没找到这样的宏,而我一直是玩的平衡和恢复D,所以也没研究过你说的那样的宏怎样编写。抱歉~~  召唤下高手,

版权声明:文章由 问百问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.wenbwen.com/tips/255577.html
热门文章