召唤复活宏 复活宏喊话( 七 )


同上,火球术可以改成其他的,比如 炎爆术,奥术飞弹,冰箭可以改成 灼烧
【平时冰箭,出奥术专注 或 出灵风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;
【灼烧叠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;
【打贼奥爆宏】
有目标就放最高级奥暴,没有目标就放1级奥暴
/script if UnitCanAttack("target","player") then CastSpellByName("魔爆术\");else CastSpellByName("魔爆术(等级 1)");end;
【自动补 冰甲术,奥术智慧,魔法抑制 】
缺啥补啥,闲着没事按按能强身健体,定国安邦……
/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;
【自动把被控制的队友变羊,小队,团队通用版 】
对于会控制玩家的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;
【随机变羊,猪,乌龟宏】
/script local s,m,r={"",":龟\",":猪\"},{"%t变羊了","%t是乌龟\","%t是猪\"},random(3); CastSpellByName("变形术\"..s[r]);SendChatMessage(m[r],"yell");
可以根据变的种类喊话,想喊什么自己改
【火冲打图腾】
/script local t,n,i,_={"根基\","战栗\","地缚","灼热","清毒",};for _,i in t do n=i.."图腾";TargetByName(n,1);end;CastSpellByName("火焰冲击(等级 1)");
【法师自动制造各种魔法宝石】
SuperMacro版,宏写不下
左边窗口:
/script ConjureManaStone();
右边窗口:
Code:
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;
六、60年代小德1.12版宏:

召唤复活宏 复活宏喊话

文章插图

【中二变身宏】
RP的变形宏,其他形态则变回人形,人形则喊话并变成相应形态,反复按不会再变回人形
人形态下变熊,并喊“熊的力量!” 其他任何形态则变回人形
/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;
人形态下变猫,并喊“豹的速度!” 其他任何形态则变回人形
/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;


特别声明:本站内容均来自网友提供或互联网,仅供参考,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。