Closed worldofd2 closed 7 months ago
Hi and thanks for your PR. We'll look into it asap.
Please let me know if a better format should be used, first time for a PR. Thank you.
I tested 3 about achievement and question, it seems ok
local pAchivePoint = player:GetAchievementPoints()
local pAchiveCompleted = player:GetCompletedAchievementsCount()
local pCompletedQuest = player:GetCompletedQuestsCount()
player:SendBroadcastMessage("Your achievement points is "..pAchivePoint)
player:SendBroadcastMessage("you completed "..pAchiveCompleted.." achievements")
player:SendBroadcastMessage("you completed "..pCompletedQuest.." quests (without everyday quests)")
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