[9369] Proper secondary target damage for spell 55050 and ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
laise 2010-02-14 00:01:25 +03:00 committed by VladimirMangos
parent c3734d9b55
commit 853d43b12b
2 changed files with 6 additions and 1 deletions

View file

@ -4753,6 +4753,11 @@ void Spell::EffectWeaponDmg(uint32 i)
totalDamagePercentMod *= 1.0f + bonus;
}
// Heart Strike secondary target
if (m_spellInfo->SpellIconID == 3145)
if (m_targets.getUnitTarget() != unitTarget)
weaponDamagePercentMod /= 2.0f;
}
// Glyph of Blood Strike
if( m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000400000) &&

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9368"
#define REVISION_NR "9369"
#endif // __REVISION_NR_H__