diff --git a/src/game/Group.cpp b/src/game/Group.cpp index dd4b3711f..5d47f5f7e 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -851,6 +851,9 @@ void Group::CountTheRoll(Rolls::iterator& rollI) roll->getLoot()->NotifyItemRemoved(roll->itemSlot); --roll->getLoot()->unlootedCount; player->StoreNewItem( dest, roll->itemid, true, item->randomPropertyId); + player->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_ITEM, roll->itemid, item->count); + player->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE, roll->getLoot()->loot_type, item->count); + player->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM, roll->itemid, item->count); } else { @@ -903,6 +906,9 @@ void Group::CountTheRoll(Rolls::iterator& rollI) roll->getLoot()->NotifyItemRemoved(roll->itemSlot); --roll->getLoot()->unlootedCount; player->StoreNewItem( dest, roll->itemid, true, item->randomPropertyId); + player->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_ITEM, roll->itemid, item->count); + player->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE, roll->getLoot()->loot_type, item->count); + player->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM, roll->itemid, item->count); } else { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 40c0c4699..3323820cc 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10707" + #define REVISION_NR "10708" #endif // __REVISION_NR_H__