mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 08:59:11 +01:00
Core/Spells: corrected a typo that was causing Earth Shield to gain additional spell power benefits from the heal target's spellpower
This commit is contained in:
@@ -334,9 +334,9 @@ class spell_sha_earth_shield : public AuraScript
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
int32 bp = aurEff->GetAmount();
|
||||
|
||||
bp = caster->SpellHealingBonusDone(target, GetSpellInfo(), bp, HEAL, aurEff->GetEffIndex());
|
||||
bp = caster->SpellHealingBonusDone(target, GetSpellInfo(), bp, HEAL, EFFECT_0);
|
||||
bp = target->SpellHealingBonusTaken(caster, GetSpellInfo(), bp, HEAL);
|
||||
|
||||
if (AuraEffect const* glyphEff = caster->GetDummyAuraEffect(SPELLFAMILY_SHAMAN, SHAMAN_ICON_ID_GLYPH_OF_EARTH_SHIELD, EFFECT_0))
|
||||
AddPct(bp, glyphEff->GetAmount());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user