mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 21:02:14 +01:00
Core/Spells: fixed Blessing of the Eternal always triggering after meeting the condition once
This commit is contained in:
@@ -1204,7 +1204,8 @@ void Spell::EffectHeal(SpellEffIndex effIndex)
|
||||
if (AuraEffect const* aurEff = caster->GetDummyAuraEffect(SPELLFAMILY_SHAMAN, 3157, EFFECT_1))
|
||||
if (unitTarget->HealthBelowPct(35))
|
||||
if (roll_chance_i(aurEff->GetAmount()))
|
||||
m_caster->CastSpell(unitTarget, 52007, true, nullptr, aurEff);
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user