mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9369] Proper secondary target damage for spell 55050 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
c3734d9b55
commit
853d43b12b
2 changed files with 6 additions and 1 deletions
|
|
@ -4753,6 +4753,11 @@ void Spell::EffectWeaponDmg(uint32 i)
|
||||||
|
|
||||||
totalDamagePercentMod *= 1.0f + bonus;
|
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
|
// Glyph of Blood Strike
|
||||||
if( m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000400000) &&
|
if( m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000400000) &&
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9368"
|
#define REVISION_NR "9369"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue