参考 › 条件浏览器 › 战斗

有抗性

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

作用

将指定单位对你选择的法术类型的抗性百分比与你设置的百分比进行比较。它依赖 MobInfo2 的记录,因此从未与你交战过的怪物不匹配。

为什么会用到它

Compares a unit's recorded resistance to one school of magic, so a caster can pick a better school: a Mage switches from Fireball to Frostbolt against fire-resistant mobs, or a Warlock leans on Shadow Bolt only when the target does not shrug off Shadow. The numbers come from the MobInfo2 addon, which learns them from your past fights with that kind of mob; they can be inaccurate, and the condition stays false until you have met the mob at least once. Without MobInfo2 installed it does nothing. On Retail and WoW Forever it is unavailable when the game hides the unit's name. See also 免疫.

示例

你的目标的对火焰的抗性 大于 50%

设置

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

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

法术类型 - The school of magic resistance to check.

运算符 - How to compare 抗性 with the 抗性 value. This comparison uses basic mathematical comparison operations.

抗性 - The resistance of 单位 to the specified school of magic as a percentage

This condition uses data from the MobInfo2 addon. As such it relies on previous interactions with the type of mob in question, which may be inaccurate. Additionally, until you encounter the mob at least once, this condition will always be false.

其代码使用的辅助函数

标识符
RESIST
分类
战斗

返回条件浏览器