参考 › 条件浏览器 › 空间

范围内的生命值计数

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

作用

统计在指定单位周围你设置的距离内、生命值满足你设置的比较的小队或团队成员人数,并与你设置的数量进行比较。生命值数值为负时,改为比较每位成员损失的生命值。

为什么会用到它

Count the party or raid members within a distance of a unit whose raw health passes a test; a negative Health value tests missing health instead. Missing health suits heals of a known size, for example casting Prayer of Healing only when at least 3 allies are each missing more than it heals, so none of it is wasted. Not available on Retail or Forever, where the game hides health values from addons. See also 范围内的生命值百分比计数.

示例

你 30 码内团队或小队成员中,生命值小于2500的人数大于或等于2

设置

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

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

运算符 - How to compare 生命值 with the 生命值 value. This comparison uses basic mathematical comparison operations.

生命值 - The health each ally within 距离 of 单位 is compared with. If this number is negative, it compares each ally's health deficit (from max health) instead.

运算符 - How to compare 范围内的生命值计数 with the 计数 value. This comparison uses basic mathematical comparison operations.

计数 - The number of allies within 距离 of 单位 whose health passes that comparison. This only counts allies you are in a party or raid with.

距离 - The distance (in yards) allies are measured against.

同一队伍 - Only count units in the same raid group.

包括宠物 - Include pets in the count.

使用同一副本中可读的位置;位置不可用时,使用以玩家为中心的距离估算。只有当某个单位的距离上限在“距离”之内时才计入。位置、距离、小队成员身份或所需的生命值/法力值不确定时,整个条件将为不可用,在“除非”下同样如此。百分比检查要求最大值为正;空的汇总没有结果。

其代码使用的辅助函数

标识符
PROXIMITY_HEALTH_COUNT
分类
空间

返回条件浏览器