Skip to content

Commit

Permalink
Core/Spells: Death Strike heals for 20%, not 100%.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenith committed Jun 24, 2011
1 parent 1adac45 commit e868df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Spells/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,7 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
// Death strike
if (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG_DK_DEATH_STRIKE)
{
int32 bp = int32(m_caster->CountPctFromMaxHealth(7) + m_caster->GetDamageTakenInPastSecs(5));
int32 bp = int32(m_caster->CountPctFromMaxHealth(7) + (20 * (m_caster->GetDamageTakenInPastSecs(5))) / 100);
// Improved Death Strike
if (AuraEffect const * aurEff = m_caster->GetAuraEffect(SPELL_AURA_ADD_PCT_MODIFIER, SPELLFAMILY_DEATHKNIGHT, 2751, 0))
bp = int32(bp * (m_caster->CalculateSpellDamage(m_caster, aurEff->GetSpellProto(), 2) + 100.0f) / 100.0f);
Expand Down

0 comments on commit e868df3

Please sign in to comment.