參考資料 › 條件瀏覽器 › 戰鬥

敵對

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

作用

檢查遊戲是否將指定的單位回報為你的敵人。

為什麼會用到它

Check that a unit is hostile to you before suggesting an attack on it, or that it is not before suggesting a heal or buff. It is handy for spells that work both ways, such as a Paladin's Holy Shock (damage on an enemy, a heal on a friend), and for mouseover rotations that should only offer damage spells on hostile mouseover targets. Works on every edition, and the game never hides it. See also 是友方 and 可攻擊.

範例

你的目標是敵人

設定

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

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

其程式碼使用的輔助函式

識別碼
ENEMY
分類
戰鬥

返回條件瀏覽器