diff options
author | Kandera <KanderaDev@gmail.com> | 2012-03-07 09:16:52 -0500 |
---|---|---|
committer | Kandera <KanderaDev@gmail.com> | 2012-03-07 09:16:52 -0500 |
commit | c23ff109dfda710c5518b7ec0e7d0a4c09e48159 (patch) | |
tree | d459f0d152bdc249e0fd4a68956fdc195e635f28 | |
parent | f495e0efe4aff18d702fdc74ecc4f43e249aea9a (diff) |
Core/Spells: attempt to fix damage for life tap (thx again vincent-michael)
-rw-r--r-- | src/server/scripts/Spells/spell_warlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index 80ba1972437..e4220cce6c7 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -381,7 +381,7 @@ class spell_warl_life_tap : public SpellScriptLoader if (Unit* target = GetHitUnit()) { SpellInfo const* spellInfo = GetSpellInfo(); - int32 damage = int32(GetEffectValue() + (6.3875 * spellInfo->BaseLevel)); + int32 damage = GetEffectValue(); int32 mana = int32(damage + (caster->GetUInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS+SPELL_SCHOOL_SHADOW) * 0.5f)); // Shouldn't Appear in Combat Log |