aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorAstellar <none@none>2010-01-04 21:48:42 +0300
committerAstellar <none@none>2010-01-04 21:48:42 +0300
commit39746981c71fcc49ecc7dc80352441cb45cd8671 (patch)
treebf8432bf6e15d217b905b2a89ee211c9428c0795 /src/game/SpellAuras.cpp
parentc2791f7d0ecdadcd06c5833408fc5a87d8ed2139 (diff)
Fixed Glyph of Lightwell.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp8
1 files changed, 8 insertions, 0 deletions
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: