参考 › 条件浏览器 › 战斗

可攻击

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

作用

检查指定的单位是否是你可以攻击的单位。

为什么会用到它

Checks whether you can attack a unit, so damage steps only light up on something you are able to hit, not a friendly player, a neutral that will not fight, or a corpse. It is useful for hybrid healers who alternate between friendly and hostile targets, such as a Discipline Priest or a Restoration Shaman, and for mouseover or focus steps. See also 敌对 and 是友方.

示例

你的目标可以被攻击

设置

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

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

其代码使用的辅助函数

标识符
ATTACKABLE
分类
战斗

返回条件浏览器