参考 › 条件浏览器 › 战斗

施放特定法术

经典旧世TBC 周年版经典进阶服永久服正式服
  • 该版本不可用(原因见提示)
  • 取决于设置、你的职业或其他插件(详情见提示)

作用

检查指定的单位当前是否正在施放你选择的法术。在法术有等级的版本中,除非勾选“使用这个确切的法术等级”,否则该法术的任何等级都匹配。

为什么会用到它

Checks whether a unit is casting one particular spell. Use it to save interrupts for the casts that matter, such as an enemy Greater Heal, Fear or Polymorph, or to answer a specific cast with Grounding Totem, Spell Reflection or Fear Ward. Where spells have ranks, a spell picked in the editor matches any rank unless you tick Use this exact spell rank. If the game cannot read the spell being cast (possible on Retail and WoW Forever) the condition is unavailable. See also 施法中 and 引导特定法术.

示例

你的目标正在施放Greater Heal

设置

条件编辑器中每项设置的含义,取自游戏内的帮助。

单位 - The unit this condition uses as the target of comparison.

The icon next to the spell name will automatically update to display the spell that is currently selected. You can drag a new spell from your spell book or action bars into this icon slot to replace your selected spell.

法术 - This is a specific spell used in this condition. You may drag this spell from your spell book or action bars into the input field or spell icon to set this value. This input field has prediction enabled, so you do not have to type the full spell name, just select from the prediction frame when it appears.

在编辑器中选取的法术按法术 ID 匹配,因此该条件在所有客户端语言下都有效。除非勾选了“使用这个确切的法术等级”,否则该法术的任何等级都会匹配。以法术名称保存的条件仍按该名称匹配。如果客户端无法读取正在施放的法术,该条件不可用,在 NOT 下同样如此。 (仅限 经典旧世, TBC 周年版, 永久服)

在编辑器中选择的法术按其法术 ID 匹配,因此该条件在任何客户端语言下都能工作。以法术名称保存的条件仍按该名称匹配。如果客户端无法读取正在施放的法术,该条件为不可用,包括在 NOT 之下。 (仅限 经典进阶服, 正式服)

其代码使用的辅助函数

标识符
CASTING_SPELL
分类
战斗

返回条件浏览器