From eee474d6ba451b4dcbf778097f700a8357491283 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 14 Mar 2009 21:55:17 +0100 Subject: *Fix pet levelup learning. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index cab3c84abe2..98f49ed127d 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5961,9 +5961,6 @@ void Aura::PeriodicTick() if(!m_target->isAlive() || m_target->getPowerType() != powerType) return; - if(m_duration ==-1 && m_target->GetPower(powerType)==m_target->GetMaxPower(powerType)) - return; - // resilience reduce mana draining effect at spell crit damage reduction (added in 2.4) if (powerType == POWER_MANA && m_target->GetTypeId() == TYPEID_PLAYER) pdamage -= ((Player*)m_target)->GetSpellCritDamageReduction(pdamage); -- cgit v1.2.3