宠物攻击宏命令(魔兽世界求个猎人宠物宏)

2024-04-08 16:18:02

同为LR 分享给你我的宏

# showtooltip [nopet]召唤宠物;[combat][mod:ctrl]治疗宠物;[mod:alt]野兽之眼;喂养宠物

/cast [button:1,nopet]召唤宠物;[button:1,combat][mod:ctrl]治疗宠物;[mod:alt]野兽之眼;[button:2, nodead, targepet]解散野兽;[button:3]复活宠物;喂养宠物

/click [pet]ContainerFrame5Item20 MiddleButton

猎人宏不能用了

关键字:猎人相信很多WOW玩家都知道宏的存在,下面本人将介绍几个LR专用宏命令,注:宏不能修改任何WOW自身设置,只能最大程度简化操作,使用宏没有任何风险

一.宏的编辑:进入游戏后,点ECS,进入主菜单,选择宏命令设置,新建,选择你喜欢的图标和输入宏的名字,确定,然后把下面将要介绍的宏命令复制到输入宏命令就OK啦,把图标拖动到动作条,这样就能正常使用。

二.基本宏

1.一键控制BB攻击,收回宏,作用:按一下是宝宝攻击;再按一下是收回

/script if(cj==1) then PetAttack() cj=0 else PetFollow() cj=1 end

2.标记,BB攻击宏,作用:标记怪后BB自动攻击此目标

/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"RavenF") then f=1;break;end;end;if f then c("猎人印记");PetAttack();end;

3.一键控制BB攻击图腾宏:点一下,BB自动攻击一个图腾,再点一下攻击下一个,PS:对付SM/tar 图腾

/script petattack()

/cleartarget

4.开饰品,开急速射击,开狂暴(巨魔特有),拉瞄准宏:点一下开一个饰品或者技能,全部开完后拉瞄准,此宏可以被删减,只需要根据需要复制需要部分/script UseInventoryItem(13);

/script SpellStopCasting();

/script UseInventoryItem(14);

/Cast PetSpellByName("狂暴");

/施放 狂暴

/施放 急速射击

/施放 瞄准射击(等级 6)

5.假死陷阱宏,作用:在战斗状态,按一下是假死收BB,再按一下是放陷阱。非战斗状态,直接陷阱,此宏举例的是冰霜陷阱,如想要放其他陷阱只需要修改宏命令中文部分即可(下面的一些宏都可以做以上修改),在战斗状态中时BB会被强制跟随,这里需要注意

/script ClearTarget()

/script CastPetAction(10) if(UnitAffectingCombat("player")==1) then CastSpellByName("假死") else CastSpellByName("冰霜陷阱") end

/script TargetLastEnemy()

6.灵猴威慑宏,作用:自己没灵猴时先开灵猴,有灵猴时开威慑

/script for i=1,16,1 do if (UnitBuff("player",i)~=nil) then if (string.find(UnitBuff("player",i),"Mon")~=nil) then CastSpellByName("威慑");break;end end if(i==16) then CastSpellByName("灵猴守护");end end

7.照明弹标记宏,作用:当目标为敌对时,使用标记。否则(包括无目标/友好目标)使用照明弹

/script if(UnitIsEnemy("player","target"))then CastSpellByName("猎人印记") else CastSpellByName("照明弹");end;

8.近战技能一键集成宏,作用:一键囊括所有近战技能,只要不停按就行了~~对方身上有摔绊效果的话,就会使用1级的,省蓝

/施放 猛禽一击()

/施放 反击()

/施放 猫鼬撕咬()

/script local T; for i=0,15,1 do T=UnitDebuff("target", i); if (T and string.find (T,"Trip")) then break; end; end; if (T and string.find (T,"Trip")) then CastSpellByName("摔绊(等级 1)"); else CastSpellByName("摔绊(等级 3)"); end

9,雷达切换宏,作用:来回切换2个探索

/script local t=GetTrackingTexture();if t and strfind(t, "Flower") then CastSpellByName("寻找矿物");else CastSpellByName("寻找草药");end

10.手雷宏,作用:点一下用手雷,再点一下取消,再点则再次使用手雷,没瞄好可以重新瞄准

这个宏会停止自动攻击,铁皮手雷不需要放到特定格子,会自动搜索

/script local b,s,l;if PlayerFrame.inCombat then AttackTarget();end;SpellStopCasting();for b=0,4 do for s=1,18 do l=GetContainerItemLink(b,s);if l and strfind(l,"铁皮手雷") then UseContainerItem(b,s);break;end;end;end;

三.特殊宏:不用你会后悔的宏,只有一个

Tab键切换目标距离设置宏,作用:相信很多玩家都有用Tab键切换锁定目标的习惯,尤其是锁定开着急跑的DZ,但是Tab键的默认最大切换距离只有30码,对于LR这个41码作战的职业来讲就是很缺乏使用价值了,下面的宏可以解决这个问题,把Tab键的切换距离自由设置

1 在魔兽世界安装文件夹下找到WTF文件夹(例如:本人的游戏路径D:World of WarcraftWTF)

2 用记事本打开Config.wtf文件,除非第三方插件将其修改,否则都是Blizzard的默认设置。

3 将字体改成System,字符集改成西文

4 在文件的末尾添加如下配置字符串:

SET TargetNearestDistance "50"

5 保存后退出,然后重新进入WOW即可。如果该文件改坏掉可以像处理AddOns文件夹一样,直接删除即可,在游戏运行中会重新创建新的config.wtf

命令中的50就是切换最大范围为50码的意思,可根据需要自行修改

本人将会在后期提供插件选择,杀恶魔指南,天赋指南,练级心得等后续文章,期待着吧.

/Script PetAttack() 废了?

看看/petattack {宠物攻击}可以吗?

我从网上找的,好像大部分能用:

“BASIC PET COMMANDS: (基本宠物指令)

Pet Orders: Attack, Follow, Stay (宠物指令: 攻击,跟随,停留)

/petattack

/petfollow

/petstay

Pet Stances: Passive, Defensive, Aggressive (宠物状态: 被动,防御,主动)

/petpassive

/petdefensive

/petaggressive

Auto-Cast Pet Abilities (宠物自动施法开/关)

/petautocaston <spell>

/petautocastoff <spell>

ADVANCED PET MACROS: (高级宠物指令)

Toggle Pet Attack (宠物攻击/不攻击)

/petattack

/petpassive [target=pettarget,exists]

·If you wish to keep your pet's stance, use /petfollow instead of /petpassive.

(如果你希望宠物和目标保持距离,使用/petfollow 代替 /petpassive)

Revive, Call, or Mend Pet (一键 复活、召唤、治疗宠物)

/cast [target=pet, dead] Revive Pet; [modifier:ctrl] Revive Pet; [nopet] Call Pet; Mend Pet

·The modifier key allows you to hold down Control so this macro will ALWAYS cast Revive Pet. This is to make up for situations where your pet is dead, but not visible.

(加上CTRL键功能强制召唤宠物是因为有时候宠物死了,但是看不到。)

Feed Multiple Pets (喂多种食物)

#show Roasted Quail

/cast [pet, nocombat] Feed Pet

/use [pet:Cat/Ravager/Wolf, nocombat] Roasted Quail; [pet:Bear/Boar/Wind Serpent, nocombat] Conjured Cinnamon Roll

·The first line forces the macro to display the number of Roasted Quail in your backpack. The /use line will use certain food based on what type of pet you have.

(第一行显示出背包里有多少烤鹌鹑,的三行使用指定的食物喂食)

=========================

BASIC PLAYER COMMANDS: (基本人物指令)

Casting Spells (基本施法宏的模式)

/cast <spell> (单一技能)

/castrandom <spell>, <spell>, <spell> (随机选取一个技能)

/castsequence <spell>, <spell>, <spell> (每次按键,顺序执行技能)

/stopcasting

Using And Equipping Items (使用/装备物品,应该是直接使用物品名字)

/use <item> (直接使用物品)

/equip <item> (装备物品)

/equipslot <slot id> <item> (在指定位置装备物品)

ADVANCED HUNTER MACROS: (高级猎人宏命令)

Use Bandage On Target Or Self (绷带别人/自己)

/use [help] Heavy Runecloth Bandage; [target=player] Heavy Runecloth Bandage

Switch Between Two Aspects (两种守护切换)

/castsequence Aspect of the Hawk, Aspect of the Monkey

·This works the same for Tracking abilities.

(类似的可以切换追踪)

Cast Spells Based On Modifier Keys (根据是否按了特殊按键来释放不同技能)

/cast [nomodifier] Aspect of the Hawk (没有特殊键:释放鹰守)

/cast [modifier:ctrl] Aspect of the Monkey (按下ctrl:猴守)

/cast [modifier:alt] Aspect of the Cheetah (按下alt:豹守)

Cast Spells Based On The Mouse Button Used (根据按鼠标不同按钮来释放不同技能)

/cast [button:1] Aspect of the Hawk (左键:释放鹰守)

/cast [button:2] Aspect of the Monkey (2,不清楚是那个键,可能是右键:猴守)

/cast [button:4] Aspect of the Cheetah (4,中键?:豹守)

·By default, using a keybind counts as mouse button 1 (left click).

缺省的是左键 1

Kill Command (杀戮指令)

/cast [exists,target=pettarget] Kill Command

·Makes sure that you cast Kill Command on your pet's target. Otherwise, the spell will go to waste.

(确保你的目标也是宠物的目标,否则就浪费了: 奇怪,这也要宏?)

Solo Farming (种田用的宏)

#show Auto Shot

/targetenemy [noharm]

/stopmacro [noharm]

/petattack

/cast Hunter's Mark

/startattack

·With one button press, this will target a nearby enemy if one isn't already selected, send your pet on it, cast Hunter's Mark, and then turn on auto attack / auto shot.

(一键:寻找最近目标,放宠,标记,自动射击)

Smart Ammo (弹药管理)

#show Steady Shot

/equip Sharp Arrow

/cast Steady Shot

/equip Wicked Arrow

·Use cheaper arrows for attacks that do not make use of their bonus damage.

(在稳定射击时使用便宜弹药!省钱要从小事做起。)

Misdirection On Predefined Targets (自动找目标来嫁祸)

/cast [target=focus, help] Misdirection; [help] Misdirection; [target=pet, exists] Misdirection

·This will attempt to cast Misdirection on the first of three targets. First, on your /focus unit if it is friendly. Second, on your current target if it is friendly. Third, on your pet if it is out.

(试图自动选择嫁祸的目标:1 你foucus的目标?等下查查到底是什么, 2 你的目标,如果他是友方的话。 3 你的宠物,如果你有的话)

Example Of Using Mass Cooldowns And Trinkets (N开宏)

/cast Beastial Wrath (兽王狂野)

/stopcasting

/cast Rapid Fire (速射)

/stopcasting

/use Devilsaur Eye (魔龙眼:职业任务奖励)

/stopcasting

/cast Intimidation (胁迫)

Renataki's Charm Macro (野兽护符的宏)

/castsequence reset=3 Arcane Shot, Multi-Shot, Renataki's Charm of Beasts

·This macro will cycle through Arcane Shot, then Multi-Shot, and then use the trinket. If the trinket is on cooldown, the macro will halt. Simply wait 3 seconds and it will go back to Auto Shot.

这个宏顺序执行 奥射,多重, 开护符。 再按下去就重复执行一次”

TAGS:
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;
2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;
3.作者投稿可能会经我们编辑修改或补充。

搜索
排行榜
标签列表