Core/Spells: Make mind sear aoe no longet target unit at which caster is channeling the spell.

This commit is contained in:
QAston
2011-09-01 09:06:24 +02:00
parent b12c75ecfa
commit 71b9e0d8de
2 changed files with 30 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
#include "ScriptPCH.h"
#include "SpellAuraEffects.h"
#include "GridNotifiers.h"
enum PriestSpells
{
@@ -130,7 +131,7 @@ class spell_pri_mind_sear : public SpellScriptLoader
void FilterTargets(std::list<Unit*>& unitList)
{
unitList.remove(GetTargetUnit());
unitList.remove_if(Trinity::ObjectGUIDCheck(GetCaster()->GetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT)));
}
void Register()