diff options
| author | QAston <none@none> | 2010-07-31 20:51:53 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2010-07-31 20:51:53 +0200 |
| commit | e0af5f9220457a222d43ddc487b8e1d35aae2392 (patch) | |
| tree | 9f76fd5a47fd2b954bd9deec8c11c8e1ce3b9bf8 /src | |
| parent | fdc36b9d89e833f6a1384b3f2aec4305aa432663 (diff) | |
*Fix Glyph of Salvation - by DrTenma.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 0e4dfa86a0f..40a14f3a7d0 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -681,6 +681,14 @@ int32 AuraEffect::CalculateAmount(Unit * caster) 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; case SPELL_AURA_MOD_THREAT: { |
