From c4a270ed35e9fbf5a3c50e916008eb26261893ef Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Sun, 20 Dec 2009 15:35:13 +0100 Subject: [PATCH] Fixed periodic damage from Seal of Vengeance, Seal of Corruption --HG-- branch : trunk --- src/game/SpellAuras.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index ffa88f2c6f..f1e8fdba7b 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6003,6 +6003,16 @@ void AuraEffect::PeriodicTick() m_amount *= 2; break; } + case 31803: + case 53742: + { + float ap = pCaster->GetTotalAttackPowerValue(BASE_ATTACK); + int32 holy = pCaster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) + + pCaster->SpellBaseDamageBonusForVictim(GetSpellSchoolMask(m_spellProto), m_target); + + m_amount = (0.013f * holy + 0.025f * ap) * 6 / 5 * m_tickNumber; + break; + } default: break; }