Skip to content

Commit

Permalink
[mr156] correct targets selection for Mind Sear. must close gh-17, gh-24
Browse files Browse the repository at this point in the history
  • Loading branch information
rsa committed Jun 5, 2011
1 parent d42e308 commit 0cea124
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/game/Spell.cpp
Expand Up @@ -7816,6 +7816,15 @@ bool Spell::FillCustomTargetMap(SpellEffectIndex i, UnitList &targetUnitMap)
}
break;
}
case 49821: // Mind Sear
case 53022:
{
Unit* unitTarget = m_targets.getUnitTarget();
FillAreaTargets(targetUnitMap, radius, PUSH_DEST_CENTER, SPELL_TARGETS_AOE_DAMAGE);
if (unitTarget)
targetUnitMap.remove(unitTarget);
return true;
}
case 58912: // Deathstorm
{
if (!m_caster->GetObjectGuid().IsVehicle())
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_R2.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_R2_H__
#define __REVISION_R2_H__
#define REVISION_R2 "155"
#define REVISION_R2 "156"
#endif // __REVISION_R2_H__

0 comments on commit 0cea124

Please sign in to comment.