*Fix Glyph of Salvation - by DrTenma.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-31 20:51:53 +02:00
parent fdc36b9d89
commit e0af5f9220
@@ -681,6 +681,14 @@ int32 AuraEffect::CalculateAmount(Unit * caster)
amount = -value; amount = -value;
} }
} }
// Hand of Salvation
else if (GetSpellProto()->SpellFamilyName == SPELLFAMILY_PALADIN && m_spellProto->SpellFamilyFlags[0] & 0x00000100)
{
//Glyph of Salvation
if (caster->GetGUID() == GetBase()->GetUnitOwner()->GetGUID())
if (AuraEffect const * aurEff = caster->GetAuraEffect(63225, 0))
amount = -aurEff->GetAmount();
}
break; break;
case SPELL_AURA_MOD_THREAT: case SPELL_AURA_MOD_THREAT:
{ {