From ab293696f2f34175c8eb9b837d990f57224104c8 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 24 Jun 2018 14:34:49 +0200 Subject: [PATCH] Core/Spells: Swiftmend will no longer benefit from Rejuvenation and Regrowth heals --- src/server/game/Spells/SpellEffects.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 4bdf992f3d..a5e84b4b1e 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -1252,31 +1252,9 @@ void Spell::EffectHeal(SpellEffIndex effIndex) return; } - int32 tickheal = (targetAura->GetAmount() + targetAura->GetBonusAmount()) * targetAura->GetDonePct(); - if (Player* modOwner = m_caster->GetSpellModOwner()) - modOwner->ApplySpellMod(targetAura->GetId(), SPELLMOD_DOT, tickheal); - - unitTarget->SpellHealingBonusTaken(m_caster, targetAura->GetSpellInfo(), tickheal, DOT); - - //int32 tickheal = targetAura->GetSpellInfo()->EffectBasePoints[idx] + 1; - //It is said that talent bonus should not be included - - int32 tickcount = 0; - // Rejuvenation - if (targetAura->GetSpellInfo()->SpellFamilyFlags[0] & 0x10) - tickcount = 4; - // Regrowth - else // if (targetAura->GetSpellInfo()->SpellFamilyFlags[0] & 0x40) - tickcount = 6; - - addhealth += tickheal * tickcount; - // Glyph of Swiftmend if (!caster->HasAura(54824)) unitTarget->RemoveAura(targetAura->GetId(), targetAura->GetCasterGUID()); - - //addhealth += tickheal * tickcount; - //addhealth = caster->SpellHealingBonus(m_spellInfo, addhealth, HEAL, unitTarget); } // Death Pact - return pct of max health to caster else if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && m_spellInfo->SpellFamilyFlags[0] & 0x00080000)