mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Fixed Glyph of Lightwell.
--HG-- branch : trunk
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user