参考 › 条件浏览器 › 角色

职业

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

作用

检查指定单位的职业是否为你选择的职业。

为什么会用到它

Checks a unit's character class. It is mostly useful in PvP or on your target's target, for example choosing Fear or Polymorph against casters and slows or disarms against a Warrior or Rogue, or picking the right buff for a friendly target. On Retail and WoW Forever the game hides the class of NPCs outside your group, so against NPCs the condition is unavailable there, while players and group members still read. See also 队伍中的职业.

示例

你的目标的职业是�

设置

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

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

职业 - The character class of 单位.

其代码使用的辅助函数

标识符
CLASS
分类
角色
切换条件
默认用作切换条件

返回条件浏览器