From 1168492151f2757738f21761176d214e0b203925 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Wed, 3 Jun 2009 17:29:29 +0200 Subject: [PATCH] *Fix the bug that Vampiric Blood heals 15 instead of 15%. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 7ac2ae5f25..98ca443b8e 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -4979,6 +4979,10 @@ void AuraEffect::HandleAuraModIncreaseHealth(bool apply, bool Real, bool changeA { if(apply) { + // Vampiric Blood + if(GetSpellProto()->Id == 55233) + m_amount = m_target->GetMaxHealth() * m_amount / 100; + m_target->HandleStatModifier(UNIT_MOD_HEALTH, TOTAL_VALUE, float(m_amount), apply); m_target->ModifyHealth(m_amount); }