mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Implemented ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE
Implemented faction specific achievements
This commit is contained in:
parent
0d6805ec94
commit
d885ba7fe1
3 changed files with 22 additions and 2 deletions
|
|
@ -13100,6 +13100,7 @@ void Player::ItemRemovedQuestCheck( uint32 entry, uint32 count )
|
|||
void Player::KilledMonster( uint32 entry, uint64 guid )
|
||||
{
|
||||
uint32 addkillcount = 1;
|
||||
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE, entry, addkillcount);
|
||||
for( int i = 0; i < MAX_QUEST_LOG_SIZE; i++ )
|
||||
{
|
||||
uint32 questid = GetQuestSlotQuestId(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue