Core/Misc: 3.3.5a fixes

This commit is contained in:
Aokromes committed 2015-08-09 10:50:16 +02:00
1 parent deac934b80
commit 1b57196b4e
6 files changed
+3 -121

No files matched your search

-1
View File
@@ -8197,7 +8197,6 @@ Unit* Unit::GetMagicHitRedirectTarget(Unit* victim, SpellInfo const* spellInfo)
{
if (Unit* magnet = (*itr)->GetBase()->GetCaster())
if (spellInfo->CheckExplicitTarget(this, magnet) == SPELL_CAST_OK
&& spellInfo->CheckTarget(this, magnet, false) == SPELL_CAST_OK
&& _IsValidAttackTarget(magnet, spellInfo))
{
/// @todo handle this charge drop by proc in cast phase on explicit target