參考資料 › 條件瀏覽器 › 角色

生命力百分比

經典時代TBC 週年版經典進程永久正式版
  • 該版本無法使用(原因請見提示)
  • 取決於設定、你的職業或其他插件(詳情請見提示)

作用

將指定單位的生命力占其最大生命力的百分比與你設定的百分比進行比較。

為什麼會用到它

Compare a unit's health as a percentage of its maximum. This is the usual way to gate execute abilities, such as Execute or Hammer of Wrath only below 20% health, or Drain Soul as a target nears death, and to bring up a defensive such as Shield Wall or a Healthstone when your own health drops under 30%. Not available on Retail or Forever, where the game hides health values from addons. See also 生命力, 距離生命力百分比達到所需時間 and 範圍內的生命力百分比.

範例

你的目標的生命力 小於 20%

設定

條件編輯器中每項設定的意義,取自遊戲內的說明。

單位 - 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 value of 單位 as a percentage of their total health.

其程式碼使用的輔助函式

識別碼
HEALTHPCT
分類
角色

返回條件瀏覽器