aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-20 15:35:13 +0100
committern0n4m3 <none@none>2009-12-20 15:35:13 +0100
commitc4a270ed35e9fbf5a3c50e916008eb26261893ef (patch)
tree1fcb6f6d739593b7e413b6f4dd4acdc7c6f51a72 /src
parentd0a68e16bbae4284064667c642f43fcbe0cd4e80 (diff)
Fixed periodic damage from Seal of Vengeance, Seal of Corruption
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index ffa88f2c6f8..f1e8fdba7b3 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;
}