fix(Scripts/Spells): Earthliving Weapon should no proc from Earth Shield. (#11094)

This commit is contained in:
UltraNix
2022-03-21 09:13:37 +01:00
committed by GitHub
parent 73c5375469
commit 9c780588c4

View File

@@ -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))