mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 13:36:36 +00:00
[Quest API] Add Mob/Entity type check methods to Perl/Lua (#3493)
* [Quest API] Add Mob/Entity type check methods to Perl/Lua # Perl - Add `$mob->IsAura()`. - Add `$mob->IsEncounter()`. - Add `$mob->IsMerc()`. - Add `$mob->IsOfClientBot()`. - Add `$mob->IsOfClientBotMerc()`. - Add `$mob->IsTemporaryPet()`. # Lua - Add `entity:IsAura()`. - Add `entity:IsOfClientBot()`. - Add `entity:IsOfClientBotMerc()`. - Add `mob:IsTemporaryPet()`. * Update lua_entity.cpp * Update lua_mob.cpp
This commit is contained in:
@@ -556,6 +556,7 @@ public:
|
||||
Lua_Mob_List GetCloseMobList(float distance, bool ignore_self);
|
||||
std::string GetClassPlural();
|
||||
std::string GetRacePlural();
|
||||
bool IsTemporaryPet();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user