*Fix the bug that lifebloom heals too much.
--HG-- branch : trunk
This commit is contained in:
@@ -1361,9 +1361,10 @@ void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool change
|
|||||||
|
|
||||||
m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * cp / 100);
|
m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * cp / 100);
|
||||||
}
|
}
|
||||||
|
// TODO: i do not know what is this for so i simply disable it
|
||||||
// Lifebloom
|
// Lifebloom
|
||||||
else if (m_spellProto->SpellFamilyFlags[1] & 0x10 && GetAuraName() == SPELL_AURA_PERIODIC_HEAL)
|
//else if (m_spellProto->SpellFamilyFlags[1] & 0x10 && GetAuraName() == SPELL_AURA_PERIODIC_HEAL)
|
||||||
m_amount = caster->SpellHealingBonus(m_target, GetSpellProto(), m_amount, SPELL_DIRECT_DAMAGE);
|
// m_amount = caster->SpellHealingBonus(m_target, GetSpellProto(), m_amount, SPELL_DIRECT_DAMAGE);
|
||||||
// Innervate
|
// Innervate
|
||||||
else if (m_spellProto->Id == 29166 && GetAuraName() == SPELL_AURA_PERIODIC_ENERGIZE)
|
else if (m_spellProto->Id == 29166 && GetAuraName() == SPELL_AURA_PERIODIC_ENERGIZE)
|
||||||
m_amount = m_target->GetCreatePowers(POWER_MANA) * m_amount / (GetTotalTicks() * 100.0f);
|
m_amount = m_target->GetCreatePowers(POWER_MANA) * m_amount / (GetTotalTicks() * 100.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user