Skip to content

Commit

Permalink
fix(Scripts/Spells): Earthliving Weapon should no proc from Earth Shi…
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraNix committed Mar 21, 2022
1 parent 73c5375 commit 9c78058
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/server/scripts/Spells/spell_shaman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,14 @@ class spell_sha_earthliving_weapon : public AuraScript
return false;
}

if (SpellInfo const* spellInfo = eventInfo.GetSpellInfo())
{
if (spellInfo->Id == SPELL_SHAMAN_EARTH_SHIELD_HEAL)
{
return false;
}
}

if (AuraEffect const* aurEff = caster->GetAuraEffectOfRankedSpell(SPELL_SHAMAN_BLESSING_OF_THE_ETERNALS_R1, EFFECT_1, caster->GetGUID()))
{
if (eventInfo.GetProcTarget()->HasAuraState(AURA_STATE_HEALTHLESS_35_PERCENT))
Expand Down

0 comments on commit 9c78058

Please sign in to comment.