参考 › 条件浏览器 › 角色

是友方

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

作用

检查游戏是否将指定的单位报告为对你友好。友好并不代表该单位在你的小队或团队中。

为什么会用到它

Check that a unit is friendly to you before suggesting a heal, buff or dispel on it. Typical uses are mouseover healing (only offer Flash Heal on a friendly mouseover target) and spells that change with the target, such as Holy Shock healing a friend instead of damaging an enemy. Friendly does not mean grouped: a friendly player outside your party matches too, so use 在队伍中 when membership matters. See also 敌对.

示例

你的鼠标悬停目标对你友好

设置

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

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

当游戏报告所选单位对你友好时匹配。这并不意味着它是小队或团队成员。缺失或无法读取的单位为不可用。

其代码使用的辅助函数

标识符
FRIENDLY
分类
角色
切换条件
默认用作切换条件

返回条件浏览器