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:
mfiners
2024-01-28 06:51:30 -06:00
committed by GitHub
parent 502136e5d6
commit fe1b709c18
6 changed files with 76 additions and 0 deletions

View File

@@ -806,6 +806,11 @@ public:
{
sEluna->OnBattlegroundDesertion(player, type);
}
void OnCreatureKilledByPet(Player* player, Creature* killed) override
{
sEluna->OnCreatureKilledByPet(player, killed);
}
};
class Eluna_ServerScript : public ServerScript