Permalink
Browse files

Relations Stage 2 Rollout: Fix logic to reflect set of helpable targets

  • Loading branch information...
killerwife committed Oct 29, 2017
1 parent 83b04d2 commit 57e9d1c8690172749d77b14bbe4924c5dff83f2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game/Grids/GridNotifiers.h
@@ -927,7 +927,7 @@ namespace MaNGOS
Unit const& GetFocusObject() const { return *i_obj; }
bool operator()(Unit* u)
{
if (u->isAlive() && u->isInCombat() && !i_obj->CanAssist(u) && i_obj->IsWithinDistInMap(u, i_range) &&
if (u->isAlive() && u->isInCombat() && i_obj->CanAssist(u) && i_obj->IsWithinDistInMap(u, i_range) &&
!(u->HasAura(i_spell, EFFECT_INDEX_0) || u->HasAura(i_spell, EFFECT_INDEX_1) || u->HasAura(i_spell, EFFECT_INDEX_2)))
{
return true;

0 comments on commit 57e9d1c

Please sign in to comment.