mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 20:52:17 +00:00
[Quest API] Add Pet Owner Methods to Perl/Lua (#4115)
* [Quest API] Add Pet Owner Methods to Perl/Lua - Add `$mob->IsPetOwnerBot()`. - Add `$mob->IsPetOwnerClient()`. - Add `$mob->IsPetOwnerNPC()`. - Add `mob:IsPetOwnerBot()`. - Add `mob:IsPetOwnerClient()`. - Add `mob:IsPetOwnerNPC()`. - Allows operators to use these short hands instead of doing a `GetOwner() && GetOwner()->IsClient()`. * Update npc.cpp
This commit is contained in:
1 parent
eb3664a444
commit
35fe38cd09
6 files changed
+60
-7
No files matched your search
@@ -574,6 +574,9 @@ public:
|
||||
bool IsCharmed();
|
||||
bool IsFamiliar();
|
||||
bool IsTargetLockPet();
|
||||
bool IsPetOwnerBot();
|
||||
bool IsPetOwnerClient();
|
||||
bool IsPetOwnerNPC();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user