diff options
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f364f9d9d6b..e3f2b3df169 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -7233,9 +7233,6 @@ void AuraEffect::HandleModPossess(bool apply, bool Real, bool /*changeAmount*/) if(!Real) return; - if(m_target->getLevel() > m_amount) - return; - Unit* caster = GetCaster(); if(caster && caster->GetTypeId() == TYPEID_UNIT) { @@ -7285,9 +7282,6 @@ void AuraEffect::HandleModCharm(bool apply, bool Real, bool /*changeAmount*/) Unit* caster = GetCaster(); - if(m_amount && int32(m_target->getLevel()) > m_amount) - return; - if(apply) m_target->SetCharmedBy(caster, CHARM_TYPE_CHARM); else @@ -7299,9 +7293,6 @@ void AuraEffect::HandleCharmConvert(bool apply, bool Real, bool /*changeAmount*/ if(!Real) return; - if(m_amount && int32(m_target->getLevel()) > m_amount) - return; - Unit* caster = GetCaster(); if(apply) |
