Skip to content

Commit

Permalink
[11699] fix reflect damage if caster can reflect too
Browse files Browse the repository at this point in the history
Signed-off-by: Laise <fenrisse@gmail.com>
  • Loading branch information
Amaru authored and Laise committed Jun 28, 2011
1 parent 3b9ed36 commit 5eb8855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/Spell.cpp
Expand Up @@ -1388,7 +1388,7 @@ void Spell::HandleDelayedSpellLaunch(TargetInfo *target)
SpellNonMeleeDamage damageInfo(caster, unitTarget, m_spellInfo->Id, m_spellSchoolMask);

// keep damage amount for reflected spells
if (missInfo == SPELL_MISS_NONE || missInfo == SPELL_MISS_REFLECT)
if (missInfo == SPELL_MISS_NONE || (missInfo == SPELL_MISS_REFLECT && target->reflectResult == SPELL_MISS_NONE))
{
for (int32 effectNumber = 0; effectNumber < MAX_EFFECT_INDEX; ++effectNumber)
{
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11698"
#define REVISION_NR "11699"
#endif // __REVISION_NR_H__

0 comments on commit 5eb8855

Please sign in to comment.