参考 › 条件浏览器 › 空间

距离

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

作用

检查指定的单位是否在你设置的距离内(以码为单位,最多 40 码)。距离只能以一个范围得知,因此只有当该范围的远端在你设置的距离内时才匹配。

为什么会用到它

Checks that a unit is within a distance in yards, up to 40. Use it for abilities with a short radius, such as Thunder Clap, Consecration, Frost Nova or Arcane Explosion, only when the target is close enough to be caught. Distances can only be measured as ranges, and the condition uses the far end of the range, so it is true only when the unit is surely within the distance. See also 超出近战范围 and 距离内计数.

示例

你的目标是距离小于 10 码

设置

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

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

距离 - This distance 单位 must be within, in yards. There are significant restrictions on how accurately distances can be measured, and all distances are within a range. This will assume the unit is at the maximum of the measurable range. Only distances less than or equal to 40 yards can be measured.

其代码使用的辅助函数

标识符
DISTANCE
分类
空间

返回条件浏览器