mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 12:47:54 +00:00
[Quest API] Add GetClassPlural() and GetRacePlural() to Perl/Lua (#3468)
* [Quest API] Add GetClassPlural() and GetRacePlural() to Perl/Lua # Perl - Add `$mob->GetClassPlural()`. - Add `$mob->GetRacePlural()`. # Lua - Add `mob:GetClassPlural()`. - Add `mob:GetRacePlural()`. # Notes - Allows operators to get the plural of a player class or race, example being `Warrior` as `Warriors` or `Dark Elf` as `Dark Elves`. * Update mob.cpp
This commit is contained in:
@@ -554,6 +554,8 @@ public:
|
||||
Lua_Mob_List GetCloseMobList();
|
||||
Lua_Mob_List GetCloseMobList(float distance);
|
||||
Lua_Mob_List GetCloseMobList(float distance, bool ignore_self);
|
||||
std::string GetClassPlural();
|
||||
std::string GetRacePlural();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user