diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 10 |
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; } |