[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
2024-02-24 23:51:21 -05:00
committed by GitHub
parent b9fb4babba
commit f57c37e9c5
3 changed files with 56 additions and 0 deletions
+4
View File
@@ -570,6 +570,10 @@ public:
uint32 GetHateListBotCount();
uint32 GetHateListClientCount();
uint32 GetHateListNPCCount();
bool IsAnimation();
bool IsCharmed();
bool IsFamiliar();
bool IsTargetLockPet();
};
#endif