Core/Spells: Fix mind controll after recent target requirement changes.

This commit is contained in:
QAston
2011-08-21 13:01:37 +02:00
parent 0a7c622305
commit c453d78b07
+1 -1
View File
@@ -6366,7 +6366,7 @@ bool Spell::CheckEffectTarget(Unit const* target, uint32 eff) const
return false; return false;
if (target->GetCharmerGUID()) if (target->GetCharmerGUID())
return false; return false;
if (int32 damage = m_spellInfo->Effects[eff].CalcValue()) if (int32 damage = CalculateDamage(eff, target))
if ((int32)target->getLevel() > damage) if ((int32)target->getLevel() > damage)
return false; return false;
break; break;