aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 0e126f8f34f..c7d049305ee 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2435,18 +2435,6 @@ void Spell::EffectPowerBurn(uint32 i)
int32 curPower = int32(unitTarget->GetPower(powertype));
uint32 power = damage;
- //Mana burn take mana % amount from target, but not bigger than amount*2 of caster mana
- if ( m_spellInfo->SpellFamilyName==SPELLFAMILY_PRIEST && m_spellInfo->SpellFamilyFlags[0] & 0x10)
- {
- // Burn percentage of target's mana
- power = damage * curPower / 100;
- if (caster)
- {
- uint32 casterPower = damage * caster->GetPower(powertype) / 50;
- if (casterPower<curPower)
- curPower = casterPower;
- }
- }
// resilience reduce mana draining effect at spell crit damage reduction (added in 2.4)
if ( powertype == POWER_MANA && unitTarget->GetTypeId() == TYPEID_PLAYER )
power -= ((Player*)unitTarget)->GetSpellCritDamageReduction(power);