Scripts/BoT: fixed a typo that was causing Engulfing Magic to target literally anything
This commit is contained in:
1 parent
90016dca57
commit
6e252a3188
1 file changed
+2
-2
@@ -1129,8 +1129,8 @@ class EngulfingMagicCheck
|
||||
if (Unit* target = object->ToUnit())
|
||||
return ((target->getClass() == CLASS_HUNTER
|
||||
|| target->getClass() == CLASS_WARRIOR
|
||||
|| target->getClass() == CLASS_DEATH_KNIGHT
|
||||
) && !target->HasAura(SPELL_TWILIGHT_METEORITE_TARGETING));
|
||||
|| target->getClass() == CLASS_DEATH_KNIGHT)
|
||||
|| target->HasAura(SPELL_TWILIGHT_METEORITE_TARGETING));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user