Core/Spells: Blessing of the Eternals will now properly increase the proc chance for Earthliving Weapon only

This commit is contained in:
Ovahlord committed 2018-03-27 03:14:59 +02:00
1 parent 09dc44b08e
commit d2b2dc8fca
3 files changed
+43 -8

No files matched your search

-7
View File
@@ -1200,13 +1200,6 @@ void Spell::EffectHeal(SpellEffIndex effIndex)
if (unitTarget->HasAura(974))
AddPct(addhealth, aurEff->GetAmount());
// Blessing of the Eternals
if (AuraEffect const* aurEff = caster->GetDummyAuraEffect(SPELLFAMILY_SHAMAN, 3157, EFFECT_1))
if (unitTarget->HealthBelowPct(35))
if (roll_chance_i(aurEff->GetAmount()))
if (SpellInfo const* earthLivingSpell = sSpellMgr->GetSpellInfo(52007))
m_caster->CastSpell(unitTarget, earthLivingSpell->Effects[EFFECT_0].TriggerSpell, true, nullptr, aurEff);
// Vessel of the Naaru (Vial of the Sunwell trinket)
if (m_spellInfo->Id == 45064)
{