永发信息网

wow宏指令大全 现在没电脑帮我查一下,不详细的请不要发言

答案:2  悬赏:30  手机版
解决时间 2021-04-06 18:48
  • 提问者网友:藍了天白赴美
  • 2021-04-06 04:06
wow宏指令大全 现在没电脑帮我查一下,不详细的请不要发言
最佳答案
  • 五星知识达人网友:毛毛
  • 2021-04-06 04:36
分类
英文指令中文指令说明

人物
/cancelaura/取消光环取消指定增益效果,如同右击增益图示一般。

人物
/cancelform/取消形态取消型态。

人物
/usetalents/启用天赋启用指定天赋。
3.2.0新增。

作战
/assist
/a/协助协助指定目标。

作战
/cast
/spell/施放
/法术施放技能。

作战
/startattack/开始攻击开始自动攻击。

作战
/stopattack/停止攻击停止自动攻击。

作战
/stopcasting/停止施法打断目前正在施放的法术。

作战
/castrandom/随机施法随机施放列表中的法术。
3.2.0後必须等随机列表中被选中的技能施放後,才能施放下一个随机技能。

作战
/castsequence/连续施法依序使用列表中的法术。

物品
/use/使用使用物品。

物品
/userandom/使用随机使用随机列表中的物品。
3.2.0後必须等随机列表中被选中的物品使用後,才能使用下一个随机物品。

物品
/equip
/eq/装备装备指定物品。

物品
/equipslot/装备栏位装备指定物品至指定部位。

物品
/equipset/装备套装装备指定套装。
3.2.0新增。

对象
/target
/tar/目标设定目标。若使用单位名称,采模糊比对。

对象
/cleartarget/清除目标清除目标。

对象
/targetexact/选定指定目标设定目标。若使用单位名称,采精确比对。

对象
/targetlasttarget/选定前一目标设定目标为前一个选取的目标。

对象
/targetlastenemy/选定前一敌人设定目标为前一个选取的敌人。

对象
/targetlastfriend/选定前一友方设定目标为前一个选取的友方。

对象
/targetenemy/目标敌人设定目标为最近的敌人。

对象
/targetfriend/目标友方设定目标为最近的友方。

对象
/targetenemyplayer/选定敌方玩家设定目标为最近的敌方玩家。

对象
/targetfriendplayer/选定友方玩家设定目标为最近的友方玩家。

对象
/targetparty/目标队伍设定目标为最近的队伍成员。

对象
/targetraid/目标团队设定目标为最近的团队成员。

对象
/focus/专注目标设定专注目标。

对象
/clearfocus/清除专注目标清除专注目标。

宠物
/petattack/宠物攻击宠物攻击。

宠物
/petfollow/宠物跟随宠物跟随。

宠物
/petstay/宠物停留宠物停留。

宠物
/petautocastoff/关闭宠物自动施法关闭宠物自动施法。

宠物
/petautocaston/开启宠物自动施法开启宠物自动施法。

宠物
/petautocasttoggle/切换宠物自动施法切换宠物自动施法。

宠物
/petaggressive/宠物攻击型宠物主动状态。

宠物
/petdefensive/宠物防御型宠物防御状态。

宠物
/petpassive/宠物被动型宠物被动状态。

控制
/swapactionbar/切换快捷列在两页快捷列间切换。

控制
/changeactionbar/改变快捷列切换至指定快捷列页数。

控制
/click/点击点击某个框架的某个按钮。

其他
/stopmacro/关闭巨集停止运行巨集。

其他
/dismount/下马解散坐骑。

其他
/leavevehicle/离开载具离开载具。
全部回答
  • 1楼网友:妄饮晩冬酒
  • 2021-04-06 05:49
查看装备耐久的宏:/ 脚本 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);
/stopmacro [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
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/stopmacro
[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]
/stopmacro
[noharm]
/startattack
/petattack
当然,你也可以直接修改/目标 后面的内容,宏“记忆目标”只是图个效率。
应用:
盗贼、法师和精灵种族都会消失并清楚焦点目标,照明弹、暴风雪等技能把他们拽出来,将宏“目标”加入无脑输出技能就可以找回之前目标,重新设置[焦点目标]并开始攻击和施法。
如果目标是个猎人,他假死的话就可以迅速找回目标。而且他跑再远你也不会失去“目标”,只要他在你附近的话,持续点击宏“目标”就行。
你会发现用此宏守尸很好很强大,尤其是猎人和术士。
baidu提示:字数超出最大允许值,请删减!
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯