*Changes in FindCreature and FindGameObject function

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2008-12-28 18:10:15 +01:00
parent e210432ace
commit 057d490710
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -149,10 +149,10 @@ struct TRINITY_DLL_DECL ScriptedAI : public CreatureAI
void DoTeleportAll(float x, float y, float z, float o);
//Get a single creature of given entry
Unit* FindCreature(uint32 entry, uint32 range);
Unit* FindCreature(uint32 entry, uint32 range, uint32 district = ALL_DISTRICT);
//Get a single gameobject of given entry
GameObject* FindGameObject(uint32 entry);
GameObject* FindGameObject(uint32 entry, uint32 district = ALL_DISTRICT);
//Returns friendly unit with the most amount of hp missing from max hp
Unit* DoSelectLowestHpFriendly(float range, uint32 MinHPDiff = 1);