69 {
71 return false;
72
73 if (!target)
74 return false;
75
77 return false;
78
80 return false;
81
83 return false;
84
85 if (m_dist < 0.0f && me->IsWithinCombatRange(target, -
m_dist))
86 return false;
87
89 {
91 {
92 if (!target->HasAura(
m_aura))
93 return false;
94 }
95 else
96 {
97 if (target->HasAura(-
m_aura))
98 return false;
99 }
100 }
101
102 return true;
103 }
bool IsWithinCombatRange(Unit const *obj, float dist2compare) const
Definition: Unit.cpp:649
References except, Unit::HasAura(), Object::IsPlayer(), Unit::IsWithinCombatRange(), m_aura, m_dist, m_playerOnly, and me.