From d141332d35f3f0141a2c452f7e7194f545ae79ca Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 2 Jun 2019 12:31:02 +0200 Subject: [PATCH] Core/Spells: Glyph of Earth shield will now correctly be checked on the caster instead on the target --- src/server/scripts/Spells/spell_shaman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp index 7166ee92536..5694b3de37e 100644 --- a/src/server/scripts/Spells/spell_shaman.cpp +++ b/src/server/scripts/Spells/spell_shaman.cpp @@ -337,7 +337,7 @@ class spell_sha_earth_shield : public AuraScript bp = caster->SpellHealingBonusDone(target, GetSpellInfo(), bp, HEAL, aurEff->GetEffIndex()); bp = target->SpellHealingBonusTaken(caster, GetSpellInfo(), bp, HEAL); - if (AuraEffect const* glyphEff = target->GetDummyAuraEffect(SPELLFAMILY_SHAMAN, SHAMAN_ICON_ID_GLYPH_OF_EARTH_SHIELD, EFFECT_0)) + if (AuraEffect const* glyphEff = caster->GetDummyAuraEffect(SPELLFAMILY_SHAMAN, SHAMAN_ICON_ID_GLYPH_OF_EARTH_SHIELD, EFFECT_0)) AddPct(bp, glyphEff->GetAmount()); target->CastCustomSpell(SPELL_SHAMAN_EARTH_SHIELD_HEAL, SPELLVALUE_BASE_POINT0, bp, target, true, nullptr, aurEff, GetCasterGUID());