|
发表于 2016-6-9 23:25:04
|
显示全部楼层
盗贼宏
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"SliceDice") then f=1;break;end;end;if p>0 and not f then c("切割");elseif p==5 and f then c("割裂");else c("邪恶攻击");end;
pve一键dps宏.....战斗剑专精作用是有星就切割5星就割裂平时邪恶攻击,战斗匕首就把邪恶攻击改成背刺即可....当年打pw就这宏= =#然后,你懂的.
【自动切割宏】
平时用邪恶搌星 若无切割状态 只要有星 立即施放切割 若有 则继续 邪恶搌星 若能搌到5星时切割状态还在 则施放剔骨
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"SliceDice") then f=1;break;end;end;if p>0 and not f then c("切割\");elseif p==5 and f then c("剔骨");else c("邪恶攻击\");end;
【邪恶还击宏 】
用 还击 在动作条上的序号替换下边红色字,查编号看上边基础知识 /script local s,d=GetActionCooldown(还击编号);if IsUsableAction(还击编号) and d<2 then CastSpellByName("还击\");else CastSpellByName("邪恶攻击\");end;
法术书版
/script local s,d=GetSpellCooldown(还击编号,"spell");if IsUsableAction(还击编号) and d<2 then CastSpellByName("还击\");else CastSpellByName("邪恶攻击\");end;
【致盲 + 绷带 】
没满60级的或者在战场中的绷带名自己改
/施放 致盲
/script local b,s,l;for b=0,4 do for s=1,18 do l=GetContainerItemLink(b,s);if l and strfind(l,"厚符文布绷带\") then UseContainerItem(b,s,1);break;end;end;end
1.12新潜行宏(不会因反复按而导致取消潜行)
/script local a,_;if not UnitAffectingCombat("player") then _,_,a=GetShapeshiftFormInfo(1);if not a then CastSpellByName("潜行");end;end;
/script GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")); if(GameTooltipTextRight4:GetText()~="匕首") then CastSpellByName("邪恶攻击(等级 8)") else PickupContainerItem(0,1); PickupInventoryItem(16); end
说明:如果主手不是匕首,则用邪恶攻击。如果主手是匕首,则把主背包第1格的武器换到主手。
/script GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")); if(GameTooltipTextRight4:GetText()~="匕首") then PickupContainerItem(0,1); PickupInventoryItem(16);else CastSpellByName("背刺(等级 8)");end
说明:如果主手不是匕首,则把主背包第1格的武器换到主手。如果是匕首,就背刺。
注意,以上2个宏要求匕首有唯一属性。如果匕首不是唯一,把GameTooltipTextRight4改成3。
/施放 冷血
/script SpellStopCasting();
/施放 剔骨(等级 8)
说明:这个宏应该大部分贼都知道。冷血+剔骨,一键发出
PvE一键DPS宏
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"SliceDice") then f=1;break;end;end;if p>0 and not f then c("切割");elseif p==5 and f then c("割裂");else c("邪恶攻击");end;
抓贼宏
/script TargetNearestEnemy({reverse})
/施放 闷棍
首先说明一下,宏无法判断是否在背后,所以做不出背后就背刺,否则就邪恶之类的宏,不要再问了
绷带不丢星,这其实就是自我施法,暴雪已经整合了这个功能,打开主菜单 -> 界面设置 -> 自动自我施法 打个勾就解决了
冷血 + 剔骨
如果目标是怪,连击点>=4才冷剔,否则普通剔骨;
如果目标是玩家,连击点>=3就冷剔,如果冷血未CD,才使用普通剔骨。
/script local p,f=GetComboPoints(),UnitIsPlayer("target");if f and p>2 or not f and p>3 then CastSpellByName("冷血");SpellStopCasting();end;
/施放 剔骨
剑刃乱舞 + 护符
/script c,s,x,u,p,d,e,_=CastSpellByName,SpellStopCasting;GetInventoryItemCooldown,UseInventoryItem,"player";c("剑刃乱舞");s();_,d,e=x(p,13);if d<2 and e>0 then u(13);else _,d,e=x(14);if d<2 and e>0 then u(14);end;end;
自动切割宏
平时用邪恶搌星 若无切割状态 只要有星 立即施放切割 若有 则继续 邪恶搌星 若能搌到5星时切割状态还在 则施放剔骨
/script local p,c,b,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"SliceDice") then f=1;break;end;end;if p>0 and not f then c("切割");elseif p==5 and f then c("剔骨");else c("邪恶攻击");end;
自动割裂宏
平时用邪恶搌星 若目标无割裂状态 只要有星 立即施放割裂 若有 则继续 邪恶搌星 若能搌到5星时割裂状态还在 则施放剔骨
/script local p,c,d,i,f=GetComboPoints(),CastSpellByName;for i=1,16 do d=UnitDebuff("target",i);if d and strfind(d,"Rupture") then f=1;break;end;end;if p>0 and not f then c("割裂");elseif p==5 and f then c("剔骨");else c("邪恶攻击");end;
偷袭起手,护符 + 背刺
/script local c,a,_=CastSpellByName;_,_,a=GetShapeshiftFormInfo(1);if a then c("偷袭");elseif UnitMana("player")>=60 then if GetInventoryItemCooldown("player",13)==0 then UseInventoryItem(13);SpellStopCasting();end;c("背刺");end;
护符放在饰品1上
如果在潜行状态,按第一下偷袭,再按就护符+背刺,不在潜行状态的话直接护符+背刺
自己掌握好距离和能量
邪恶还击宏
用 还击 在动作条上的序号替换下边红色字,查编号看上边基础知识
/script local s,d=GetActionCooldown(还击编号);if IsUsableAction(还击编号) and d<2 then CastSpellByName("还击");else CastSpellByName("邪恶攻击");end;
出血鬼魅宏
用 鬼魅攻击 在动作条上的序号替换下边红色字,查编号看上边基础知识
/script local c,s,d=CastSpellByName,GetActionCooldown(鬼魅编号);if d<2 then c("鬼魅攻击") else c("出血");end;
法术书版
/script local c,s,d=CastSpellByName,GetSpellCooldown(鬼魅编号,"spell");if d<2 then c("鬼魅攻击") else c("出血");end;
RAID专用: 平时邪恶攻击,目标转向自己就闪避
/script if UnitIsUnit("targettarget","player") then CastSpellByName("闪避");SpellStopCasting();end;CastSpellByName("邪恶攻击");
预备 + 消失
能消失就消失,消失冷却中就预备
消失编号参见上边基础知识
/script local c,s,d=CastSpellByName,GetActionCooldown(你消失编号);if d>2 then c("预备");SpellStopCasting();end;c("消失");
法术书版
/script local c,s,d=CastSpellByName,GetSpellCooldown(你消失编号,"spell");if d>2 then c("预备");SpellStopCasting();end;c("消失");
致盲 + 绷带
没满60级的或者在战场中的绷带名自己改
/施放 致盲
/script local b,s,l;for b=0,4 do for s=1,18 do l=GetContainerItemLink(b,s);if l and strfind(l,"厚符文布绷带") then UseContainerItem(b,s,1);break;end;end;end
一键脱光
注意,你身上的包至少要都是16格的
local e,b,s=0;for b=0,4 do for s=1,16 do if not GetContainerItemLink(b,s) then while e<18 do e=e+1;if e==11 then e=16;end;if GetInventoryItemLink("player",e) then PickupInventoryItem(e) ickupContainerItem(b,s);break;end;end;end;end;end
远程武器宏
自动判定当前远程武器类型而决定使用该种武器进行射击,弓,弩使用箭,枪械使用子弹
这个不会切换,所以弹药自己处理
/script local l,_=GetInventoryItemLink("player",18);_,_,l=strfind(l,"item %d+)");_,_,_,_,_,l=GetItemInfo(l);l=strsub(l,1,6);if l~="投掷" then l=l.."射击";end;CastSpellByName(l);
1.12新潜行宏(不会因反复按而导致取消潜行)
/script local a,_;if not UnitAffectingCombat("player") then _,_,a=GetShapeshiftFormInfo(1);if not a then CastSpellByName("潜行");end;end;
暗夜精灵贼专用 - 潜行CD中使用影遁,连续按也不会取消影遁,潜行冷却完毕使用潜行,连续按不会取消潜行
连续按不取消影遁写不下了,去掉,但潜行中不取消潜行还可以,用时自己注意点
把潜行放动作条上,查出编号,替换下边红色字,查编号看上边基础知识
/script local c,s,d,a,_=CastSpellByName;_,_,a=GetShapeshiftFormInfo(1);if not a then s,d=Get(潜行编号);if d>2 then c("影遁");else c("潜行");end;end;
法术书版
/script local c,s,d,a,_=CastSpellByName;_,_,a=GetShapeshiftFormInfo(1);if not a then s,d=GetSpellCooldown(潜行编号,"spell");if d>2 then c("影遁");else c("潜行");end;end;
不取消潜行的:需要SuperMacro支持
左边窗口:
/script NEStealth();
右边窗口Code (c):
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
function NEStealth()
local c,i,b,f,s,d,a,_=CastSpellByName;
_,_,a=GetShapeshiftFormInfo(1);
if not a then
s,d=GetActionCooldown(你潜行编号);
if d>2 then
for i=1,16 do
b=UnitBuff("player",i);
if b and strfind(b,"Ambu") then
f=1;break;
end;
end;
if not f then c("影遁");end;
else c("潜行");
end;
end;
end;
法术书版Code (c):
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
function NEStealth()
local c,i,b,f,s,d,a,_=CastSpellByName;
_,_,a=GetShapeshiftFormInfo(1);
if not a then
s,d=GetSpellCooldown(你潜行编号,"spell");
if d>2 then
for i=1,16 do
b=UnitBuff("player",i);
if b and strfind(b,"Ambu") then
f=1;break;
end;
end;
if not f then c("影遁");end;
else c("潜行");
end;
end;
end;
/cast [target=mouseover, exists] 致盲; 致盲
闷棍目标
如果你没有目标的话,将会闷棍你周围最近的敌人。如果已经有目标了,将不会丢失。对于寻找附近的潜行敌人时,这个宏有很好的效果
#showtooltip 闷棍
/targetenemy [harm][nodead]
/targetenemy [noharm][dead]
/cast 闷棍
战斗中消失,否则潜行
/cast [nocombat] 潜行; 消失
/script if ( GetComboPoints() >= 5 ) then CastSpellByName("剔骨(等级 8)"); else CastSpellByName("背刺(等级 8)"); end
/script if not (dagger == GetInventoryItemLink("player", 16)) then CastSpellByName("邪恶攻击(等级 8)") end
说明:这个宏首先判断目标身上是否有5星,如果有,则剔骨。如果没有,且主手是匕首,则背刺,如果主手不是匕首,则邪恶攻击。测试有效。但是背刺要在目标背后。注意宏的格式,不要有回车。
/script if ( GetComboPoints() >= 5 ) then CastSpellByName("冷血") SpellStopCasting();CastSpellByName("剔骨(等级 8)");else CastSpellByName("邪恶攻击(等级 8)"); end
说明:类似的判断宏,如果目标有5星,则冷血剔骨。如果有5星,冷血没冷却,就普通剔骨。没5星就邪恶攻击
/script CastSpellByName("背刺")
/script if not (dagger == GetInventoryItemLink("player", 16)) then CastSpellByName("邪恶攻击") end
说明:能背刺就背刺,不能就邪恶攻击……
/script GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")); if(GameTooltipTextRight4:GetText()~="匕首") then CastSpellByName("邪恶攻击(等级 8)") else PickupContainerItem(0,1); PickupInventoryItem(16); end
说明:如果主手不是匕首,则用邪恶攻击。如果主手是匕首,则把主背包第1格的武器换到主手。
/script GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")); if(GameTooltipTextRight4:GetText()~="匕首") then PickupContainerItem(0,1); PickupInventoryItem(16);else CastSpellByName("背刺(等级 8)");end
说明:如果主手不是匕首,则把主背包第1格的武器换到主手。如果是匕首,就背刺。
注意,以上2个宏要求匕首有唯一属性。如果匕首不是唯一,把GameTooltipTextRight4改成3。
/施放 冷血
/script SpellStopCasting();
/施放 剔骨(等级 8)
说明:这个宏应该大部分贼都知道。冷血+剔骨,一键发出
/Script UseContainerItem(0,1);
/Script TargetUnit("player");
说明:绷带给自己,不丢星。其中绷带放在主背包第1个格。也就是最左上的格
/script x="player";d=UnitHealthMax(x)-UnitHealth(x);if (d>1800) then UseContainerItem(0,1);end
/Script TargetUnit("player");
说明:绷带给自己,不丢星。只有在角色掉1800血以上才使用绷带。
/Script UseInventoryItem(14);
/Script UseInventoryItem(13);
/Script SpellStopCasting();
/施放 冲动
kuloukyc提供的双开饰品宏。
/施放 凿击
/Script SpellStopCasting();
/Script d=UnitHealthMax("player")-UnitHealth("player");if (d>1000) then UseContainerItem(4,14);end
/Script SpellTargetUnit("player");
守望狼狼提供的凿击+绷带宏。(4,14)是绷带在背包的位置,可以换。
/Script if (GetComboPoints() >= 4 ) then CastSpellByName("冷血");end
/Script SpellStopCasting();
/施放 剔骨
守望狼狼提供的宏:4星以上冷血剔骨,不到3星就普通剔骨。
/施放 还击
/施放 邪恶攻击(等级 8)
需要说明吗?
/script if (UnitIsUnit("targettarget","player")) then CastSpellByName("闪避") end;
/script if (GetComboPoints() >= 5) then CastSpellByName("剔骨") else CastSpellByName("邪恶攻击"); end;
NAX教官用的,学员提前脱离,OT了自动开闪避。平时就是邪恶,5星剔骨。
|
评分
-
查看全部评分
|