手游下载网:好玩的手机网络游戏下载站
热门游戏
您的位置: 首页 - 游戏攻略 - 盗贼宏命令 求盗贼宏命令

盗贼宏命令 求盗贼宏命令

  • 编辑:山加游戏网
  • 时间:2024-07-14 10:00
  • 浏览:15次

一、求盗贼宏命令

分类:游戏>>魔兽世界

问题描述:

我要一个是能判断主手是不是匕首的宏

解析:

/scrip t if( GetComboPoints()>= 5) then CastSpellByName("剔骨(等级 8)"); else CastSpellByName("背刺(等级 8)"); end

/scrip t if not(dagger== GetInventoryItemLink("player", 16)) then CastSpellByName("****(等级 8)") end

说明:这个宏刚刚做好,首先判断目标身上是否有5星,如果有,则剔骨。如果没有,且主手是匕首,则背刺,如果主手不是匕首,则****。测试有效。但是背刺要在目标背后。注意宏的格式,不要有回车。

/scrip t CastSpellByName("背刺(等级 8)")

/scrip t if not(dagger== GetInventoryItemLink("player", 16)) then CastSpellByName("****(等级 8)") end

说明:跟上面那个差不多,不判断5星剔骨而已。

/scrip t GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")); if(GameTooltipTextRight4:GetText()~="匕首") then CastSpellByName("****(等级 8)") else PickupContainerItem(0,1); PickupInventoryItem(16); end

说明:如果主手不是匕首,则用****。如果主手是匕首,则把主背包第1格的武器换到主手。

/scrip t GameTooltip:SetInventoryItem("player", GetInventorySlotInfo("MainHandSlot")); if(GameTooltipTextRight4:GetText()~="匕首") then PickupContainerItem(0,1); PickupInventoryItem(16);else CastSpellByName("背刺(等级 8)");end

说明:如果主手不是匕首,则把主背包第1格的武器换到主手。如果是匕首,就背刺。

注意,以上2个宏要求匕首有**属*。如果匕首不是**,把GameTooltipTextRight4改成3。

/施放冷血

/scrip t SpellS***Casting();

/施放剔骨(等级 8)

说明:这个宏应该大部分贼都知道。冷血+剔骨,一键发出

/Scrip t UseContainerItem(0,1);

/Scrip t TargetUnit("player");

说明:绷带给自己,不丢星。其中绷带放在主背包第1个格。也就是*左上的格

/scrip t x="player";d=UnitHealthMax(x)-UnitHealth(x);if(d>1800) then UseContainerItem(0,1);end

/Scrip t TargetUnit("player");

说明:绷带给自己,不丢星。只有在角色掉1800血以上才使用绷带。

/Scrip t UseInventoryItem(14);

/Scrip t UseInventoryItem(13);

/Scrip t SpellS***Casting();

/施放冲动

kuloukyc提供的双开饰品宏。

/施放凿击

/Scrip t SpellS***Casting();

/Scrip t d=UnitHealthMax("player")-UnitHealth("player");if(d>1000) then UseContainerItem(4,14);end

/Scrip t SpellTargetUnit("player");

守望狼狼提供的凿击+绷带宏。(4,14)是绷带在背包的位置,可以换。

/Scrip t if(GetComboPoints()>= 4) then CastSpellByName("冷血");end

/Scrip t SpellS***Casting();

/施放剔骨

守望狼狼提供的宏:4星以上冷血剔骨,不到3星就普通剔骨。

/施放还击

/施放****(等级 8)

二、魔兽世界 盗贼职业 宏命令设置

没满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

另外给你一些其他的盗贼实用宏,希望你用得到

宏无法判断是否在背后,所以做不出背后就背刺,否则就**之类的宏,不要再问了

绷带不丢星,这其实就是自我施法,暴雪已经整合了这个功能,打开主菜单->界面设置->自动自我施法打个勾就解决了

冷血+剔骨

如果目标是怪,连击点>=4才冷剔,否则普通剔骨;

如果目标是玩家,连击点>=3就冷剔,如果冷血未CD,才使用普通剔骨。

/script local p,f=GetComboPoints(),UnitIsPlayer("target");if f and p>2 or not f and p>3 then CastSpellByName("冷血");SpellS***Casting();end;

/施放剔骨

剑刃乱舞+护符

/script c,s,x,u,p,d,e,_=CastSpellByName,SpellS***Casting;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);SpellS***Casting();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("闪避");SpellS***Casting();end;CastSpellByName("****");

预备+消失

能消失就消失,消失冷却中就预备

消失编号参见上边基础知识

/script local c,s,d=CastSpellByName,GetActionCooldown(你消失编号);if d>2 then c("预备");SpellS***Casting();end;c("消失");

法术书版

/script local c,s,d=CastSpellByName,GetSpellCooldown(你消失编号,"spell");if d>2 then c("预备");SpellS***Casting();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);PickupContainerItem(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;