Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
- index fb91c3f..9366672 100755
- --- a/src/server/game/Entities/Unit/Unit.cpp
- +++ b/src/server/game/Entities/Unit/Unit.cpp
- @@ -10164,7 +10169,8 @@ Unit* Unit::GetMagicHitRedirectTarget(Unit* victim, SpellInfo const* spellInfo)
- if (spellInfo->CheckExplicitTarget(this, magnet) == SPELL_CAST_OK
- && spellInfo->CheckTarget(this, magnet, false) == SPELL_CAST_OK
- && _IsValidAttackTarget(magnet, spellInfo)
- - && IsWithinLOSInMap(magnet))
- + && IsWithinLOSInMap(magnet)
- + || magnet->isTotem())
- {
- // TODO: handle this charge drop by proc in cast phase on explicit target
- (*itr)->GetBase()->DropCharge(AURA_REMOVE_BY_EXPIRE);
Advertisement
Add Comment
Please, Sign In to add comment