mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Spells: Glyph of Earth shield will now correctly be checked on the caster instead on the target
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user