[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:
Alex King
2023-07-12 22:20:07 -04:00
committed by GitHub
parent c81d05940a
commit 4854201b2a
5 changed files with 70 additions and 5 deletions
+3
View File
@@ -47,6 +47,9 @@ public:
bool IsBeacon();
bool IsEncounter();
bool IsBot();
bool IsAura();
bool IsOfClientBot();
bool IsOfClientBotMerc();
int GetID();
Lua_Client CastToClient();