Core/Spells: Hemorrhage should deal 45% bonus damage instead of 50% when having a dagger equipped

This commit is contained in:
Ovahlord
2018-10-31 23:23:07 +01:00
parent 1c5087e25f
commit 1ef2f9a0f3

View File

@@ -527,7 +527,7 @@ void Spell::EffectSchoolDMG(SpellEffIndex effIndex)
// Eviscerate and Envenom Bonus Damage (item set effect)
if (m_caster->HasAura(37169))
damage += combo*40;
damage += combo * 40;
}
}
}
@@ -2897,11 +2897,11 @@ void Spell::EffectWeaponDmg(SpellEffIndex effIndex)
{
if (m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->ToPlayer()->AddComboPoints(unitTarget, 1, this);
// 50% more damage with daggers
// 45% more damage with daggers
if (m_caster->GetTypeId() == TYPEID_PLAYER)
if (Item* item = m_caster->ToPlayer()->GetWeaponForAttack(m_attackType, true))
if (item->GetTemplate()->SubClass == ITEM_SUBCLASS_WEAPON_DAGGER)
totalDamagePercentMod *= 1.5f;
totalDamagePercentMod *= 1.45f;
}
break;
}