[Quest API] Add GetAverageLevel() to Perl/Lua. (#2524)

# Perl
- Add `$group->GetAverageLevel()` to Perl.

# Lua
- Add `group:GetAverageLevel()` to Lua.
- Convert `group:GetHighestLevel()` from `int` to `uint32` in Lua.
- Convert `group:GetLowestLevel()` from `int` to `uint32` in Lua.
This commit is contained in:
Kinglykrab
2022-11-14 14:04:14 -05:00
committed by GitHub
parent fca99bb274
commit 3cb13969ff
3 changed files with 19 additions and 6 deletions
+3 -2
View File
@@ -39,8 +39,9 @@ public:
const char *GetLeaderName();
bool IsLeader(Lua_Mob leader);
int GroupCount();
int GetHighestLevel();
int GetLowestLevel();
uint32 GetAverageLevel();
uint32 GetHighestLevel();
uint32 GetLowestLevel();
void TeleportGroup(Lua_Mob sender, uint32 zone_id, uint32 instance_id, float x, float y, float z, float h);
int GetID();
Lua_Mob GetMember(int index);