当前位置:游戏娱乐馆 >

网游图文攻略

> 《魔兽世界》怀旧服法师宏命令介绍

《魔兽世界》怀旧服法师宏命令介绍

魔兽世界60年代怀旧服还未正式更新,但是网上已经有不少职业攻略。例如法师宏命令,那么在经典旧世版本中,法师宏命令怎么写?下面就为大家带来魔兽世界60怀旧服法师宏命令大全。

魔兽世界怀旧服法师宏命令怎么写 wow60怀旧服法师宏命令大全

魔兽世界怀旧服法师宏命令怎么写

宏(2.1下已无用)

我这里只放出我自己写的部分有用的宏(其中一个由oblind写的),其他fs宏就不管了

coc

/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 or ((UnitMana("player")/UnitManaMax("player"))>0.1) then c("冰锥术");else c("冰锥术(等级 1)");end

作用:在出节能或者mana大于10%的时候用顶级级coc,否则1级,缺点是无法在宏上面显示cd

奥爆

/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 or ((UnitMana("player")/UnitManaMax("player"))>0.4) then c("魔爆术");else c("魔爆术(等级 1)");end

作用:与上面相似,只是mana小于40%的时候改用1级

farm公主

/script local c,_,d,i,b,f=CastSpellByName,GetActionCooldown(你气定动作条的编号);for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"antAr") then f=1;break;end;end;if f then c("炎爆术");elseif d>0 then c("火焰冲击");else c("气定神闲");end;

作用:适合气定火法,一键公主,同样无法在宏上面显示cd

以下需要supermacro支持

冰箱

左边窗口:

/script Iceblock();

右边窗口:

function Iceblock()

local c,i,b,f=CastSpellByName;s,d=GetActionCooldown(你冰箱的动作条编号);r=GetTime()-s;

for i=1,16 do

b=UnitBuff("player",i);

if b and strsub(b,29)=="Frost" then f=1;

break;

end;

end;

if not f then

if d>2 then c("急速冷却");else c("寒冰屏障");end;

elseif ((d>2 and r>0.5) or IsAltKeyDown()) then c("寒冰屏障");

end;

end

作用: 与世面上大多数冰箱宏的区别在于狂按冰箱的时候,不会不小心按多了出冰箱

宏里的0.5就是时间限制,在进入冰箱还不到0.5秒的时候,再次按这个宏是不会出冰箱的

如果想在这段时间强制出来可以按下alt键

其余的功能于大多数冰箱宏一样,缺点是宏图标无法显示冰箱cd

刷鳄鱼专用懒人宏

左边窗口:

/script LazyMage();

右边窗口:

Code c:

function LazyMage()

local c,s,d,r,i,b,f=CastSpellByName;

s,d=GetActionCooldown(你coc的动作条编号);

r=d+s-GetTime();

for i=1,16 do

b=UnitBuff("player",i);

if b and strfind(b,"ManaB") then f=1;break;

end;

end;

if (d>2 and r>1.5) then

if f or ((UnitMana("player")/UnitManaMax("player"))>0.4) then

c("魔爆术");

else

c("魔爆术(等级 1)");

end;

else

if f or ((UnitMana("player")/UnitManaMax("player"))>0.1) then

c("冰锥术");

else

c("冰锥术(等级 1)");

end;

end;

end

作用:相当于把coc宏和奥爆宏结合了一下.如果coc不在cd则放coc,如果在cd中并且cd大于1.5s则放奥爆.

一键制造各种法力宝石(written by oblind)

左边窗口:

/script ConjureManaStone();

右边窗口:

Code c:

function ConjureManaStone()

local x,j,b,s,l,f={"红宝石","黄水晶","翡翠","玛瑙"},1;

while j<5 do

f=nil;

for b=0,4 do

for s=1,18 do

l=GetContainerItemLink(b,s);

if l and strfind(l,"法力"..x[j]) then

f=j;break;

end;

end;

if f then break;end;

end;

if f then j=j+1;

else CastSpellByName("制造魔法"..x[j]);break;

end;

end;

end;

由于有supermacro支持,吃法力宝石可以这样写/use 法力红宝石

/use 法力黄水晶

/use 法力翡翠

/use 法力玛瑙

  • 文章版权属于文章作者所有,转载请注明 https://yxylg.com/wangyougonglue/v2wr20.html