18#ifndef TRINITYCORE_UNIT_AI_COMMON_H
19#define TRINITYCORE_UNIT_AI_COMMON_H
57 bool operator()(
Unit const* target)
const;
72 bool operator()(
Unit const* target)
const;
85 bool operator()(
Unit const* target)
const;
95 PowerUsersSelector(
Unit const* unit,
Powers power,
float dist,
bool playerOnly) : _me(unit), _power(power), _dist(dist), _playerOnly(playerOnly) { }
96 bool operator()(
Unit const* target)
const;
107 FarthestTargetSelector(
Unit const* unit,
float dist,
bool playerOnly,
bool inLos) : _me(unit), _dist(dist), _playerOnly(playerOnly), _inLos(inLos) { }
108 bool operator()(
Unit const* target)
const;
FarthestTargetSelector(Unit const *unit, float dist, bool playerOnly, bool inLos)
NonTankTargetSelector(Unit *source, bool playerOnly=true)
SpellInfo const * _spellInfo