参考 › 条件浏览器 › 角色

生命值

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

作用

将指定单位的生命值与你设置的数值进行比较。数值为负时,改为比较该单位相对其最大生命值所损失的生命值。

为什么会用到它

Compare a unit's health as a raw number; a negative value compares missing health instead. Raw values suit fixed thresholds, such as using a Healthstone once you are missing more than it restores, or holding a long cooldown for targets with plenty of health left so it is not wasted on trash. Most rotations are better served by 生命值百分比, which scales with level and gear. Not available on Retail or Forever, where the game hides health values from addons.

示例

你的目标的生命值 大于 50000

设置

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

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

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

生命值 - The raw health value of 单位. If this number is negative, it means the health deficit (from max health).

其代码使用的辅助函数

标识符
HEALTH
分类
角色

返回条件浏览器