WoW 2.0宏指南
作者: nga lostcup
(作者注:WoW 2.0还在Beta阶段,因此以下条件选项随时可能被更改。)
In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the /cast, /use, /target, /focus, /assist, /stopmacro, /cancelaura, /userandom, /castrandom, and /castsequence slash commands. This post is intended to be a "How-To" guide on using them.
NOTE: While most of the examples given are done using ?/cast?, these options are available to all the slash commands listed above.
在WoW 2.0中,宏和插件将会有翻天覆地的改变。最近,Slouken(Blizzard UI开发者)宣布了一个令人激动的宏的新特性,一系列条件选项将可以被应用于以下斜杠命令:/cast,/use,/target,/focus,/assist,/stopmacro,/cancelaura,/userandom,/castrandom,以及/castsequence。这个帖子的目的就在于讲解如何应用它们。
注:虽然多数例子都使用了"/cast",但事实上这些条件选项对前面提到的所有斜杠命令都有效。
Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most ?dumb logic? macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.
Currently, using ?/cast? is very simple. The command format is ?/cast ? (which casts the highest rank of the listed spell), or ?/cast (Rank <#>)?. Some examples:
/cast Greater Heal
/cast Arcane Intellect(Rank 3)
在2.0中,目前所用的大多数宏都将被废弃,因为在战斗中,任何用到CastSpellByName()或者TargetUnit()的宏都将不再有作用。更进一步的,多数“傻瓜逻辑”的宏也不会再有效。但是,你现在可以通过新的宏条件选项来实现许多流行宏的功能。
现在,使用“/cast”(“/施放”)非常简明,命令格式就是“/cast <法术名称>”(施放最高等级的法术)或者“/cast <法术名陈>(Rank <#>)”。比如说:
/施放 强效治疗术
/施放 奥术智慧(等级 3)
In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for ?/cast? is: ?/cast [] ; [] ; [] ; ...
作者: nga lostcup
(作者注:WoW 2.0还在Beta阶段,因此以下条件选项随时可能被更改。)
In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the /cast, /use, /target, /focus, /assist, /stopmacro, /cancelaura, /userandom, /castrandom, and /castsequence slash commands. This post is intended to be a "How-To" guide on using them.
NOTE: While most of the examples given are done using ?/cast?, these options are available to all the slash commands listed above.
在WoW 2.0中,宏和插件将会有翻天覆地的改变。最近,Slouken(Blizzard UI开发者)宣布了一个令人激动的宏的新特性,一系列条件选项将可以被应用于以下斜杠命令:/cast,/use,/target,/focus,/assist,/stopmacro,/cancelaura,/userandom,/castrandom,以及/castsequence。这个帖子的目的就在于讲解如何应用它们。
注:虽然多数例子都使用了"/cast",但事实上这些条件选项对前面提到的所有斜杠命令都有效。
Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most ?dumb logic? macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.
Currently, using ?/cast? is very simple. The command format is ?/cast ? (which casts the highest rank of the listed spell), or ?/cast (Rank <#>)?. Some examples:
/cast Greater Heal
/cast Arcane Intellect(Rank 3)
在2.0中,目前所用的大多数宏都将被废弃,因为在战斗中,任何用到CastSpellByName()或者TargetUnit()的宏都将不再有作用。更进一步的,多数“傻瓜逻辑”的宏也不会再有效。但是,你现在可以通过新的宏条件选项来实现许多流行宏的功能。
现在,使用“/cast”(“/施放”)非常简明,命令格式就是“/cast <法术名称>”(施放最高等级的法术)或者“/cast <法术名陈>(Rank <#>)”。比如说:
/施放 强效治疗术
/施放 奥术智慧(等级 3)
In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for ?/cast? is: ?/cast [] ; [] ; [] ; ...