From 39746981c71fcc49ecc7dc80352441cb45cd8671 Mon Sep 17 00:00:00 2001 From: Astellar Date: Mon, 4 Jan 2010 21:48:42 +0300 Subject: [PATCH] Fixed Glyph of Lightwell. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index e5b5c8572c7..36490425400 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1487,6 +1487,14 @@ void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool change if (AuraEffect* aureff = caster->GetAuraEffect(SPELL_AURA_DUMMY, SPELLFAMILY_PRIEST, 2899, 1)) DoneActualBenefit += caster->SpellBaseHealingBonus(GetSpellSchoolMask(m_spellProto)) * (aureff->GetAmount() / 100.0f); } + // Lightwell Renew + else if (m_spellProto->SpellFamilyFlags[2] & UI64LIT(0x4000) && GetAuraName() == SPELL_AURA_PERIODIC_HEAL) + { + if (caster->GetTypeId() == TYPEID_PLAYER) + // Bonus from Glyph of Lightwell + if (AuraEffect* modHealing = caster->GetAuraEffect(55673, 0)) + m_amount *= (100.0f + modHealing->GetAmount()) / 100.0f; + } break; } case SPELLFAMILY_DRUID: