feat: Add 4 methods (#158)
1: Player:GetAchievementPoints 2: Player:GetCompletedQuestsCount This should have been GetCompletedQuestsCount, not sure how to update that now. 3: You also have an option to include feats of strength or not (not included by default, blizzard like) Player:GetCompletedAchievementsCount 4: RegisterPlayerEvent OnCreatureKilledByPet
This commit is contained in:
@@ -472,6 +472,7 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "GetGuild", &LuaPlayer::GetGuild },
|
||||
{ "GetAccountId", &LuaPlayer::GetAccountId },
|
||||
{ "GetAccountName", &LuaPlayer::GetAccountName },
|
||||
{ "GetCompletedQuestsCount", &LuaPlayer::GetCompletedQuestsCount },
|
||||
#if defined (TBC) || defined (WOTLK)
|
||||
{ "GetArenaPoints", &LuaPlayer::GetArenaPoints },
|
||||
{ "GetHonorPoints", &LuaPlayer::GetHonorPoints },
|
||||
@@ -492,6 +493,8 @@ ElunaRegister<Player> PlayerMethods[] =
|
||||
{ "GetRestBonus", &LuaPlayer::GetRestBonus },
|
||||
#ifdef WOTLK
|
||||
{ "GetPhaseMaskForSpawn", &LuaPlayer::GetPhaseMaskForSpawn },
|
||||
{ "GetAchievementPoints", &LuaPlayer::GetAchievementPoints },
|
||||
{ "GetCompletedAchievementsCount", &LuaPlayer::GetCompletedAchievementsCount },
|
||||
#endif
|
||||
{ "GetReqKillOrCastCurrentCount", &LuaPlayer::GetReqKillOrCastCurrentCount },
|
||||
{ "GetQuestStatus", &LuaPlayer::GetQuestStatus },
|
||||
|
||||
Reference in New Issue
Block a user