mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26:37 +00:00
[Quest API] Add Pet Methods to Perl/Lua (#4116)
* [Quest API] Add Pet Methods to Perl/Lua # Perl - Add `$mob->IsAnimation()`. - Add `$mob->IsCharmed()`. - Add `$mob->IsFamiliar()`. - Add `$mob->IsTargetLockPet()`. # Lua - Add `mob:IsAnimation()`. - Add `mob:IsCharmed()`. - Add `mob:IsFamiliar()`. - Add `mob:IsTargetLockPet()`. # Notes - These methods were not exported and could be useful for operators. * Update perl_mob.cpp
This commit is contained in:
@@ -570,6 +570,10 @@ public:
|
||||
uint32 GetHateListBotCount();
|
||||
uint32 GetHateListClientCount();
|
||||
uint32 GetHateListNPCCount();
|
||||
bool IsAnimation();
|
||||
bool IsCharmed();
|
||||
bool IsFamiliar();
|
||||
bool IsTargetLockPet();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user