World of Warcraft Wiki
探索
首页
所有页面
社区页
交互式地图
最新博文
页面
最新页面
宏完全指南
World of Warcraft API
指令
魔兽世界接口函数(wow API)
人物
UI Beginners Guide
职业
最新博客
分类
含有损坏文件链接的页面
职业色
Inlinegfx
Wow-inline
隐藏分类
BlogListingPage
损坏的文件的链接的页面
社区
社区首页
社区中心
帮助中心
FANDOM
游戏
电影
电视
wiki
探索wiki
社区中心
创建wiki
尚未注册?
注册
登录
登录
注册
World of Warcraft Wiki
37
个页面
探索
首页
所有页面
社区页
交互式地图
最新博文
页面
最新页面
宏完全指南
World of Warcraft API
指令
魔兽世界接口函数(wow API)
人物
UI Beginners Guide
职业
最新博客
分类
含有损坏文件链接的页面
职业色
Inlinegfx
Wow-inline
隐藏分类
BlogListingPage
损坏的文件的链接的页面
社区
社区首页
社区中心
帮助中心
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
编辑“
宏的制作(2.0)
”(章节)
返回页面
编辑
可视化编辑器
查看历史
讨论 (0)
正在编辑
宏的制作(2.0)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== Using Focus === Focus is a [[UnitId|unit ID]] like target, player, or raidpet1target. It allows you to reference a mob, player, or NPC you specify. The simplest usage of focus is with key bindings. There are two focus-related functions in the bindings menu: Focus Target, and Target Focus. Focus Target sets your focus to whatever you are currently targeting (it will clear your focus if you have nothing targeted). Once you have a focus set, you can use it as a unit ID for any other command. Target Focus will, as you might guess, target the entity you have focused. However, these bindings don't really take full advantage of focus. In order to get the most bang for your buck, you will need to use macros with macro options. One of the most common uses is to set a crowd control target. A mage can select a mob to sheep and set it as their focus. Now they can change targets for DPS and use the following macro whenever they need to re-sheep. /cast [target=focus] Polymorph Or maybe a healer could set their focus to the main tank. With an addon like FocusFrame, they would then have a frame devoted to their main tank that they could easily use for healing. In addition to the key bindings, there are also the /focus and /clearfocus slash commands. Without any parameters, /focus works exactly like the key binding, setting your current target as your focus. You can also specify any valid unit ID (see Targeting above) or name as a parameter to /focus: /focus party3target Here is an example of more advanced focusing: /focus [target=focus, noharm] [target=focus, dead] [modifier] /stopmacro [target=focus, noexists] /cast [target=focus] Polymorph The first line sets your focus to your current target (or clears your focus if you don't have a target) in one of the following situations: * You don't have a harmful focus (either it's friendly or doesn't exist) * Your current focus is dead * You are holding down a modifier key (in case you want to change your focus after you already have a valid one) The second line keeps the macro from proceeding if you don't have a focus. Finally, it casts Polymorph on your focus. This gives you a one-button solution for your crowd control with focus. You may notice that we could have used an exists condition in the /cast command instead of a separate /stopmacro command. However, /stopmacro affords us a bit more flexibility by stoping any other commands we may add to the macro later (like a warning in /p). It's possible to swap your target and your focus, giving you in effect two targets you can toggle between: /cleartarget [target=target, dead] /clearfocus [target=focus, dead] /target focus /cleartarget [target=focus, noexists] /targetlasttarget /focus target /targetlasttarget The first two lines clear the target and/or focus if they are dead (if you really want to keep track of multiple dead targets, e.g. to resurrect or loot them, then delete those lines). The fourth is needed because /target focus doesn't clear your target if you have no current focus (without it, the fifth line would then retrieve your previous target).
摘要:
请注意在World of Warcraft Wiki上的所有贡献都将依据CC-BY-SA进行发布。
取消
编辑帮助
(在新窗口中打开)
Follow on IG
TikTok
Join Fan Lab