
*尽量安装《super macro》插件的从而更好的支持宏命令
1. 法师的法术反制提示宏,能按照自己的法术书中的反制技能,来提醒是不是能够使用.没有冷却时用/S频道报出冷却时间.其中的"94"需要按照详细反制在法术书中的位置做调整.因为字节超过255,以上必须SUPERMACRO插件支持.
/script local start,duration=GetSpellCooldown(94,1);SCM=SendChatMessage;cd=GetTime()-start;cd=math.floor(duration-cd);if (start>0 and duration>0) then SCM("法术反制CD也有"..cd.." 秒.","say") elseif UnitCanAttack("player","target") then SpellStopCasting();CastSpellByName("法术反制");SCM("已经对>>"..UnitName("target") .."<<反制!","say") end
2 法师的开饰品,然后再伤害的宏.其中的14为更后面一个饰品.另一个饰品需要改为13
同样的,这个宏适合其他服装的使用,这个宏好处是,不会在屏幕上经常的提醒"物品没有准备好"
/script if GetInventoryItemCooldown("player",14)==0 then UseInventoryItem(14)
/施放 寒冰箭
3打断施法在地球时代要用下面脚本才行。
/run SpellStopCasting()
/cast Blink
这个宏经常打断你的施放之后释放闪现。下面的技能换成冰箱拉打断啦都行。
4气定神闲+炎爆术
/施放 气定神闲
/script SpellStopCasting();
/施放 炎爆术
5自动补 冰甲术,奥术智慧,魔法抑制
缺啥补啥,闲着没事按按可强身健体wow冰箱宏,定国安邦……
/script local n,s,k,j,b,f={"tArm","lSen","hMag"},{"冰甲术","奥术智慧","魔法抑制"};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 not f then CastSpellByName(s[k]);break;end;end;
6自动把被控制的队友变羊,小队,团队通用版
对于会控制玩家的BOSS很有用,比如哈卡,AQ神庙1
/script local n,p,i,t=4,"party";if UnitInRaid("player") then n=40;p="raid";end;for i=1,n do t=p..i;if UnitCanAttack("player",t) then TargetUnit(t);CastSpellByName("变形术");SendChatMessage("%t 被控制,我把他变猪了~",p);break;end;end;
7随机变羊,猪,乌龟宏
/script local s,m,r={"",":龟",":猪"},{"%t变羊了","%t是乌龟","%t是猪"},random(3); CastSpellByName("变形术"..s[r]);SendChatMessage(m[r],"yell");
可以按照变的类型喊话,想喊什么自己改
8火冲打图腾
/script local t,n,i,_={"根基","战栗","地缚","灼热","清毒"};for _,i in t do n=i.."图腾";TargetByName(n,1);end;CastSpellByName("火焰冲击(等级 1)");
9/script if not buffed("Ice Block", 'player') then cast("Ice Block") end
这个命令可以狂按来释放冰箱而不用担心取消冰箱。
这比如奥术能量。
10取消冰箱可以/unbuff Ice Block也可以手动点掉。
11/script if UnitCanAttack("target","player") then CastSpellByName("暴风雪");else CastSpellByName("暴风雪(等级 1)");end;
有目标顶级下雪 没目标1级下雪pvpe双用 省蓝 抓贼....
12/script SpellStopCasting();CastSpellByName("法术反制")
停止当前施法 反制
/script SpellStopCasting();CastSpellByName("闪现术")
同上...
13法师冰箭宏
触发了节能自动释放奥弹
装备不好的法师可以考虑
/script i=1;m=0;while(UnitBuff("player",i)~=nil) do if(strfind(UnitBuff("player",i), "Spell_Shadow_ManaBurn") ~=nil) then m=1; end; i=i+1;end; c=CastSpellByName; if(m==1) then c("Arcane Missiles"); else c("Frostbolt"); end;

14/施放 奥术强化/script SpellStopCasting();/script UseInventoryItem(13); /script UseInventoryItem(14);短暂放饰品的下边那一格此宏直接复制粘贴即可,再不会你好去自杀了AP一定要比ZG护符先启动,
15奥术强化+护符+炎爆术
护符放那里无所谓,会手动开已经冷却的护符
/script local c,x,u,s,p,d,e,_=CastSpellByName,GetInventoryItemCooldown,UseInventoryItem,SpellStopCasting,"player";c("奥术强化);s();_,d,e=x(p,13);if d<2 and e then u(13);else _,d,e=x(p,14);if d<2 and e then u(14);end;end;s();c("炎爆术");
16气定神闲+炎爆术
/施放 气定神闲
/script SpellStopCasting();
/施放 炎爆术
17平时冰箭,出灵风8件效果就火球
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"Telep") then f=1;break;end;end;if f then c("火球术");else c("寒冰箭");end;
这类宏有个特征,平时用小技能,在特定buff出现后换大技能,比如这里冰箭就是小技能,火球就是大技能
既然分出了大小,那就明白可以如何改了,火球术可以改成其它“大技能”,比如 炎爆术
冰箭可以换成其它“小技能”,比如 灼烧,都是中国字,别和我说你不会
18平时冰箭,出奥术专注效果就火球
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"ManaB") then f=1;break;end;end;if f then SpellStopCasting();c("火球术");else c("寒冰箭");end;
同上,火球术可以改成其它的,比如 炎爆术,奥术飞弹,冰箭可以改成 灼烧
平时冰箭,出奥术专注 或 出灵风8件效果就火球
奥术专注是下个法术免费,所以如果出了特效,要立刻更改当前法术,换大的,否则免费特效就被当前法术浪费了
而灵风8件是下个法术瞬发,当前正在引导的不受影响,所以不用取消当前的
由于256字节限制,要更改两个都取消,否则都不取消,那就是说必须都取消,这样灵风会代价当前引导的法术
这种代价就是半个冰箭以及半个灼烧,如果你们觉得这些损失可以接受的话,就用这个合并版:
/script local c,i,j,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and (strfind(b,"ManaB") or strfind(b,"Telep")) then f=1;break;end;end;if f then SpellStopCasting();c("火球术");else c("灼烧");end;
1级奥暴骗节能,出节能就用顶级奥暴
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"ManaB") then f=1;break;end;end;if f then SpellStopCasting();c("魔暴术");else c("魔暴术(等级 1)");end;
19灼烧叠5层就火球,否则再次灼烧
/script local c,i,d,n,f=CastSpellByName;for i=1,16 do d,n=UnitDebuff("target",i);if d and strfind(d,"SoulB") then f=1;break;end;end;if f and n==5 then c("火球术");else c("灼烧");end;
20打贼奥爆宏
有目标就放最高级奥暴,没有目标就放1级奥暴
/script if UnitCanAttack("target","player") then CastSpellByName("魔暴术");else CastSpellByName("魔暴术(等级 1)");end;
21自动补 冰甲术,奥术智慧,魔法抑制
缺啥补啥,闲着没事按按可强身健体,定国安邦……
/script local n,s,k,j,b,f={"tArm","lSen","hMag"},{"冰甲术","奥术智慧","魔法抑制"};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 not f then CastSpellByName(s[k]);break;end;end;
22自动把被控制的队友变羊,小队,团队通用版
对于会控制玩家的BOSS很有用,比如哈卡,AQ神庙1
/script local n,p,i,t=4,"party";if UnitInRaid("player") then n=40;p="raid";end;for i=1,n do t=p..i;if UnitCanAttack("player",t) then TargetUnit(t);CastSpellByName("变形术");SendChatMessage("%t 被控制,我把他变猪了~",p);break;end;end;
23随机变羊,猪,乌龟宏
/script local s,m,r={"",":龟",":猪"},{"%t变羊了","%t是乌龟","%t是猪"},random(3); CastSpellByName("变形术"..s[r]);SendChatMessage(m[r],"yell");
可以按照变的类型喊话,想喊什么自己改
法师自动制造各种魔法宝石
SuperMacro版,宏写不下
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/dianqi/article-144382-1.html
就必然会提高存款利率上浮