diff options
| author | QAston <none@none> | 2009-03-14 21:55:17 +0100 |
|---|---|---|
| committer | QAston <none@none> | 2009-03-14 21:55:17 +0100 |
| commit | eee474d6ba451b4dcbf778097f700a8357491283 (patch) | |
| tree | d7625948d714a288059d36a59953afeaee47be67 /src/game/SpellAuras.cpp | |
| parent | 8695a4afaf9d70038cb48cb63f9c1e30294283ed (diff) | |
*Fix pet levelup learning.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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); |
