mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
[Quest API] Add GetRandomMob() and GetRandomNPC() to Perl/Lua. (#2006)
- Add $entity_list->GetRandomMob(x, y, z, distance, exclude_mob) to Perl. - Add $entity_list->GetRandomNPC(x, y, z, distance, exclude_npc) to Perl. - Add eq.get_entity_list():GetRandomMob(x, y, z, distance, exclude_mob) to Lua. - Add eq.get_entity_list():GetRandomNPC(x, y, z, distance, exclude_npc) to Lua.
This commit is contained in:
@@ -108,8 +108,12 @@ public:
|
||||
void RemoveFromHateLists(Lua_Mob who);
|
||||
void RemoveFromHateLists(Lua_Mob who, bool set_to_one);
|
||||
void MessageGroup(Lua_Mob who, bool skip_close, uint32 type, const char *message);
|
||||
Lua_Client GetRandomClient(float x, float y, float z, float dist);
|
||||
Lua_Client GetRandomClient(float x, float y, float z, float dist, Lua_Client exclude);
|
||||
Lua_Client GetRandomClient(float x, float y, float z, float distance);
|
||||
Lua_Client GetRandomClient(float x, float y, float z, float distance, Lua_Client exclude_client);
|
||||
Lua_Mob GetRandomMob(float x, float y, float z, float distance);
|
||||
Lua_Mob GetRandomMob(float x, float y, float z, float distance, Lua_Mob exclude_mob);
|
||||
Lua_NPC GetRandomNPC(float x, float y, float z, float distance);
|
||||
Lua_NPC GetRandomNPC(float x, float y, float z, float distance, Lua_NPC exclude_npc);
|
||||
Lua_Mob_List GetMobList();
|
||||
Lua_Client_List GetClientList();
|
||||
Lua_Client_List GetShuffledClientList();
|
||||
|
||||
Reference in New Issue
Block a user