[Quest API] Add Owner methods to Perl/Lua. (#2542)

* [Quest API] Add Owner methods to Perl/Lua.

# Perl
- Add `$mob->GetOwner()` to Perl.

# Lua
- Add `mob:GetOwnerID()` to Lua.

# Notes
- `GetOwner()` exists in Lua, but not Perl.
- `GetOwnerID()` exists in Perl, but not Lua.

* Update lua_mob.cpp
This commit is contained in:
Kinglykrab
2022-11-14 18:03:26 -05:00
committed by GitHub
parent e72ec4ae56
commit 8f1b87c5e4
3 changed files with 14 additions and 1 deletions
+1
View File
@@ -208,6 +208,7 @@ public:
void SpellEffect(Lua_Mob caster, int spell_id, double partial);
Lua_Mob GetPet();
Lua_Mob GetOwner();
uint16 GetOwnerID();
Lua_Mob GetUltimateOwner();
Lua_HateList GetHateList();
Lua_HateList GetShuffledHateList();