Core/Script: Warlock lifetap's damage

Fixed warlocks Lifetap todo the same damage as displayed on tooltip.
This commit is contained in:
talamortis
2018-09-20 18:24:38 +01:00
parent 4cb2e267fa
commit e715dd3f61

View File

@@ -943,7 +943,7 @@ class spell_warl_life_tap : public SpellScriptLoader
Player* caster = GetCaster()->ToPlayer();
if (Unit* target = GetHitUnit())
{
int32 damage = GetEffectValue();
int32 damage = GetEffectValue() + 1.0f + (caster->GetStat(STAT_SPIRIT) * 1.5f);
int32 mana = int32(damage + (caster->GetInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS+SPELL_SCHOOL_SHADOW) * 0.5f));
// Shouldn't Appear in Combat Log