您的位置: 首页 手游攻略 wow宏命令大全 wow猎人宏大全

wow宏命令大全 wow猎人宏大全

查看装备耐久的宏:/脚本 local t,x,a,d,m={0,1},{"总计","**"},0 for i=1,18 do

d,m=GetInventoryItemDurability(i)if m then if d/m<t[2]then t[2]=d/m

x[2]="**"..GetInventoryItemLink("player",i)end t[1]=m+t[1]a=a+d end end

t[1]=a/t[1]for i=1,2 do ChatFrame1:AddMessage(x[i]..t[i])end

垃圾抛弃宏:/脚本 local a,i,j,l={"要抛弃物品名字1","要抛弃物品名字2"}for i=1,#a do for j=1,114

do l=GetContainerItemLink(j/23,j*23)if l and l:find(a[i])then

PickupContainerItem(j/23,j*23)DeleteCursorItem()end end end

看看你的纸娃娃有多少种动作:先打开试衣间一次,再执行以下代码:

/script DressUpFrame:Show();local s= 2000;local a=

0;DressUpModel:SetScript("OnUpdate", function(self, e)s= s+(e*

1000);self:SetSequenceTime(a, s);if s> 2000 then s=

0;a=a+1;DEFAULT_CHAT_FRAME:AddMessage("第"..a.."号动作开始...") end end)

停止执行:/script DressUpModel:SetScript("OnUpdate",nil)

一键脱/穿装备宏:

脱装备:

自动搜索背包剩余位置脱掉装备

/run?L,Z={16,17,18,1,3,5,6,7,8,9,10},Z?or?{}local?n=Z[1]?and?#Z+1?or?1;for?i=0,4?do?for?j=1,GetContainerNumSlots(i)do?if?not?GetContainerItemLink(i,j)and?L[n]then?Z[n]={i,j}PickupInventoryItem(L[n])PickupContainerItem(i,j)n=n+1;end;end;end

穿装备:

和脱装备宏对应,穿回装备(背包里的装备位置不能动)

/run?for?i=1,#Z?do?if?GetContainerItemLink(Z[i][1],Z[i][2])then?PickupContainerItem(Z[i][1],Z[i][2])PickupInventoryItem(L[i])end;end;Z={}

倒计时喊话宏:

点一下开始,再一下停止

/脚本 T,F=T or 0,F or CreateFrame("frame")if X and i>0 then

X=nil else i=5;X=function()local t=GetTime()if t-T>1 then if i==0 then

F:SetScript("OnUpdate",nil)else SendChatMessage(i,"YELL")i=i-1;T=t end end end

end F:SetScript("OnUpdate",X)

左键点开始,再点重新计数,右键停止

/脚本 i=5;T,F=T or 0,F or

CreateFrame("frame")X=function()local t=GetTime()if t-T>1 then if i==0 or

X==nil then F:SetScript("OnUpdate",nil)else SendChatMessage(i,"YELL")i=i-1;T=t

end end end F:SetScript("OnUpdate",X);

/s***macro [btn:1]

/脚本

X=nil;

打断提示宏:

自己打断的提示:

/脚本 F=F or

CreateFrame("frame")F:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");F:SetScript("OnEvent",function()if

arg4==UnitName("player")and arg2:sub(-2,-2)=="P"then

SendChatMessage("我打断了"..arg7.."的"..arg13,"yell")end end)

周围所有人的打断提示

/脚本 F=F or

CreateFrame("frame")F:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");F:SetScript("OnEvent",function()if

arg2:sub(-2,-2)=="P"and arg3:sub(5,5)=='0'then

SendChatMessage(arg4.."打断了"..arg7.."的"..arg13,"yell")end end)

取消提示:

/脚本 F:SetScript("OnEvent",nil)

智能拾取宏:

/脚本 hooksecurefunc(LootFrame,"Show",function()local

p,q,t;for i=1,IsAltKeyDown()and 0 or GetNumLootItems()do

_,_,p=GetLootSlotInfo(i)if p~=0 then

_,_,q,_,_,t=GetItemInfo(GetLootSlotLink(i))end if p==0 or(q and(q>0

or"武器"==t))then LootSlot(i)end end end)

自动拾取某件物品版:

/脚本 hooksecurefunc(LootFrame,"Show",function()local

t,p,n={"毛料","魔纹布"}for i=1,IsAltKeyDown()and 0 or GetNumLootItems()do

_,n,p=GetLootSlotInfo(i)for j=1,#n do if p==0 or n==t[j]then LootSlot(i)end end

end end)

BOSS掉落通报宏:历史版本:

/脚本 local n,c,S,t,m={},0,SendChatMessage;for

i=1,GetNumLootItems()do _,_,m,t=GetLootSlotInfo(i)if t>3 then

t=GetLootSlotLink(i)n[t]=n[t] and n[t]+m or m;c=c+1;end;end;if c>0 then for

wow宏命令大全 wow猎人宏大全

i,j in pairs(n)do

S(i.."X"..j,"raid")end;S("=总计"..c.."件掉落=","raid")end

修复两件装备同名时的数量统计。

/脚本 local n,t,m,c={}for

i=1,GetNumLootItems()do _,_,m,t=GetLootSlotInfo(i)if t>3 then

t=GetLootSlotLink(i)_,_,c=t:find(".-m:(*d+)")n[c]=n[c] and n[c]+m or

m;end;end;for i,j in pairs(n)do

_,i=GetItemInfo(i)SendChatMessage(i.."X"..j,"raid")end

出售垃圾+修理装备宏:

在商人界面点击出售灰色物品,并自动修装备(优先使用公会**)

/脚本 local q;if MerchantFrame:IsVisible()then for i=1,114 do

q=GetContainerItemLink(i/23,i*23)if q and q:sub(5,10)=="9d9d9d"then

UseContainerItem(i/23,i*23)end;end;if CanMerchantRepair()then

RepairAllItems(CanGuildBankRepair())end;end

如果不想用公会**那么

/脚本 local q;if MerchantFrame:IsVisible()then for i=1,114 do

q=GetContainerItemLink(i/23,i*23)if q and q:sub(5,10)=="9d9d9d"then

UseContainerItem(i/23,i*23)end;end;if CanMerchantRepair()then

RepairAllItems()end;end

清理背包宏:在商人界面点宏一次*出售背包里所有灰色物品,其他情况点一下宏摧毁背包里的一件灰色物品,按住alt摧毁背包里所有灰色物品。

/脚本 local q;for i=1,120 do

q=GetContainerItemLink(i/23,i*23)if q and q:sub(5,10)=="9d9d9d"then if

MerchantFrame:IsVisible()then UseContainerItem(i/23,i*23)else

PickupContainerItem(i/23,i*23)DeleteCursorItem()if not IsAltKeyDown()then

break;end;end;end;end

获取鼠标持有物或悬停窗体信息宏:

/run local a,b,c,x,d,e,f=GetCursorInfo()if a then

x=a..":"..b.."" if a=="item"then _,_,_,_,_,d,e,_,f=GetItemInfo(x)x=x..""..c.."

"..d..""..e..""..f elseif c then x=x..c end else

x=GetMouseFocus():GetName()end

DEFAULT_CHAT_FRAME:AddMessage(x)

在这个强力*横行的年代,分享2个很有用的宏:

M语你的目标,告诉他你的近战AP,暴击,还有命中。。

/run

p="player";bap,map=UnitAttackPower(p);rcr=GetCritChance(p);

rhi=GetCombatRating(7);SendChatMessage("本人DD数值:近战AP"..bap+map.."---爆

击"..rcr.."---命

中"..rhi,"whisper",GetDefaultLanguage("target"),UnitName("target"))

这个是远程暴击,AP和命中的宏。。

/run

p="player";bap,map=UnitRangedAttackPower(p);rcr=GetRangedCritChance(p);

rhi=GetCombatRating(7);SendChatMessage("AP"..bap+map.."爆击"..rcr.."命

中"..rhi,"whisper",GetDefaultLanguage("target"),UnitName("target"))

这个是坦克的~~

/run

p="player";dod=GetDodgeChance(p);pa=GetParryChance(p);bl=GetBlockChance(p);ba,ar=UnitArmor("player");hm=UnitHealthMax(p);SendChatMessage("闪避"..dod.."招架"..pa.."格挡"..bl.."护甲"..ar.."HP"..hm,"whisper",GetDefaultLanguage("target"),UnitName("target"))

法系

/run

p="player";fd=GetSpellBonusDamage(3);fcr=GetSpellCritChance(3);shi=GetCombatRating(8);SendChatMessage("火伤"..fd.."法爆"..fcr.."命中"..shi,"whisper",GetDefaultLanguage("target"),UnitName("target"))

注意,法伤GetSpellBonusDamage()法爆GetSpellCritChance()

就是fd fcr那两行

()里面的数字

这是有分系的

1 for Physical

2 for Holy

3 for Fire

4

for Nature

5 for Frost

6 for Shadow

7 for Arcane

与焦点目标互补互助的“智能目标”宏:

首先打开宏面板创建一个名叫“记忆目标”的宏,将下面引用内容复制到此宏中。

再创建一个名为“目标”的空宏,无论是通用宏和专业宏。

将“记忆目标”和“目标”2个宏做好快捷设置。

/script

mz=UnitName("target")EditMacro(GetMacroIndexByName("目标"),"目标",3,"/目标"..mz.."

\n/focus [target=focus,noexists][target=focus,dead]\n/s***macro

[noharm]\n/startattack\n/petattack",1)

/focus

[target=focus,noexists][target=focus,dead]

宏中的/focus [target=focus,noexists][target=focus,dead]

可以根据情况更改或删除,同时你可以在宏“目标”中加入技能。

宏“记忆目标”的运作原理:

将当前目标的名字和攻击命令写入宏库名为“目标”的宏里,使用宏“目标”就能选择并攻击之前记忆的目标。

使用方法:

选择一个你需要设置为焦点或需要保存目标的目标,并运行宏“记忆目标”(战斗中无效),当你失去保存的目标或焦点后,运行宏“目标”就能找回保存的目标并设置为焦点目标(战斗中有效)。

例如你当前的目标是“张三”,使用宏“记忆目标”后,原本宏“目标”的内容会被篡改为:

/目标张三

/focus

[target=focus,noexists][target=focus,dead]

/s***macro

[noharm]

/startattack

/petattack

当然,你也可以直接修改/目标后面的内容,宏“记忆目标”只是图个效率。

应用:

盗贼、法师和精灵种族都会消失并清楚焦点目标,照明弹、暴风雪等技能把他们拽出来,将宏“目标”加入无脑输出技能就可以找回之前目标,重新设置[焦点目标]并开始攻击和施法。

如果目标是个猎人,他假死的话就可以迅速找回目标。而且他跑再远你也不会失去“目标”,只要他在你附近的话,持续点击宏“目标”就行。

你会发现用此宏守尸很好很强大,尤其是猎人和术士。

baidu提示:字数超出*大允许值,请删减!

常用的宏命令:

1、技能命令

/cast释放一个或多个技能,可以加入一些条件判断,是*常用的命令。

/castsequence依次释放释放数个技能,同样可以加入一些条件判断,常见于所谓的"无脑宏"。

/use使用一个物品,可以直接用物品名称也可以用物品栏位置。

2、动作命令

/cancelform取消变形

/cancelaura取消状态或增益

/startattack开始攻击,释放技能会自动开始攻击。

/s***attack停止攻击,与startattack相反,用于防止破除控制等功能。

扩展资料:

种族介绍

魔兽世界设计了13个种族可供玩家进行选择。

即暗夜精灵、人类、兽人、牛头人、矮人、**、巨魔、侏儒(原版);血精灵、德莱尼(燃烧的远征TBC);狼人、地精(大地的裂变CTM);熊猫人(熊猫人之谜MOP)。

每个种族都各有自己鲜明的特色,包括各个种族各自的故事背景、城市、能力天赋以及不同的运输方式和坐骑。

以下是wow猎人常用的宏集锦,它们可以帮助你更**地进行游戏:

/petautocastoff闪电吐息

快速切换到自动射击模式:/cast!自动射击

如果宠物的目标存在,使用杀戮命令:/cast [target=pettarget, exists]杀戮命令

在特定宠物技能可用时,启用杀戮命令:/cast [target=风蛇赵掌谁组, pettarget]闪电吐息

确保稳固射击的连贯*:/cast稳固射击

**UI错误提示:/script UIErrorsFrame.Hide()

启用兽王形态下的稳固抽筋宏:/cast(兽王的誉李新稳固抽筋宏)

快速查看技能描述:#showtooltip猛来自禽一击

直接使用猛禽一击:/cast猛禽一击

随机使用摔绊技能:/castrandom摔绊

持续切换到自动射击:/cast!自动射击

快速使用急速射击:/castrandom急速射击

**狂野怒火:/cast狂野怒火

再次使用急速射击:/cast急速射击

利用嗜血胸针增强战斗:/use嗜血胸针

使用刃拳的宽容:/use刃拳的宽容

这些宏有助于简化操作,提升你的猎人战斗效率,但请根据个人习惯和当前战斗环境选择合适的宏进行使用。

本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。