mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
*Fixes conflagrate DOT damage so that warlocks finally can be the pyromaniacs they want to be
Closes issue #942 Fix by Liberate --HG-- branch : trunk
This commit is contained in:
@@ -500,7 +500,12 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
||||
{
|
||||
uint32 pdamage = aura->GetAmount() > 0 ? aura->GetAmount() : 0;
|
||||
pdamage = m_caster->SpellDamageBonus(unitTarget, aura->GetSpellProto(), pdamage, DOT, aura->GetBase()->GetStackAmount());
|
||||
damage += pdamage * aura->GetTotalTicks() * 60 / 100;
|
||||
uint32 pct_dir = m_caster->CalculateSpellDamage(unitTarget, m_spellInfo, (effect_idx + 1));
|
||||
damage += pdamage * aura->GetTotalTicks() * pct_dir / 100;
|
||||
|
||||
uint32 pct_dot = m_caster->CalculateSpellDamage(unitTarget, m_spellInfo, (effect_idx + 2)) / 3;
|
||||
m_currentBasePoints[1] = pdamage * aura->GetTotalTicks() * pct_dot / 100;
|
||||
|
||||
apply_direct_bonus = false;
|
||||
// Glyph of Conflagrate
|
||||
if (!m_caster->HasAura(56235))
|
||||
|
||||
Reference in New Issue
Block a user