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

法力百分比

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

作用

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

為什麼會用到它

Compare a unit's mana as a percentage of its maximum. Common uses are Evocation, Innervate or a mana potion when you fall under 20%, dropping expensive spells below 30% to conserve mana, or on a target, aiming Viper Sting or Drain Mana at casters that still have mana. Not available on Retail or Forever, where the game hides mana 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 mana value of 單位 as a percentage of their total mana.

其程式碼使用的輔助函式

識別碼
MANAPCT
分類
角色

返回條件瀏覽器