Core/Spells: Drop unrelated manaCostPct check from Spell::EffectPowerBurn and use explicit check instead, fixes some power burn spells.

This commit is contained in:
QAston
2011-07-13 20:39:17 +02:00
parent b9413f08b3
commit f70875510a

View File

@@ -2167,7 +2167,7 @@ void Spell::EffectPowerBurn(SpellEffIndex effIndex)
return;
// burn x% of target's mana, up to maximum of 2x% of caster's mana (Mana Burn)
if (m_spellInfo->ManaCostPercentage)
if (m_spellInfo->Id == 8129)
{
int32 maxDamage = int32(CalculatePctN(m_caster->GetMaxPower(powerType), damage * 2));
damage = int32(CalculatePctN(unitTarget->GetMaxPower(powerType), damage));