[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:
Alex King authored and GitHub committed 2024-02-24 22:51:21 -06:00
1 parent b9fb4babba
commit f57c37e9c5
3 files changed
+56

No files matched your search

+4
View File
@@ -570,6 +570,10 @@ public:
uint32 GetHateListBotCount();
uint32 GetHateListClientCount();
uint32 GetHateListNPCCount();
bool IsAnimation();
bool IsCharmed();
bool IsFamiliar();
bool IsTargetLockPet();
};
#endif