Core/Misc: Add new function for selection nearest player in given distance

This commit is contained in:
Lopin
2011-07-11 16:17:21 +02:00
parent e35e4d6e23
commit a233e7b9d8
4 changed files with 65 additions and 0 deletions
@@ -584,6 +584,7 @@ class Creature : public Unit, public GridObject<Creature>
Unit* SelectNearestTarget(float dist = 0) const;
Unit* SelectNearestTargetInAttackDistance(float dist = 0) const;
Player* SelectNearestPlayer(float distance = 0) const;
void DoFleeToGetAssistance();
void CallForHelp(float fRadius);