fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_ROLL_DISENCHANT (#17319)

This commit is contained in:
Ludwig
2023-09-22 00:50:39 +02:00
committed by GitHub
parent f633eb8592
commit 056ea323f3
3 changed files with 6 additions and 0 deletions

View File

@@ -536,6 +536,9 @@ void WorldSession::HandleLootRoll(WorldPacket& recvData)
case ROLL_GREED:
GetPlayer()->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED, 1);
break;
case ROLL_DISENCHANT:
GetPlayer()->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_ROLL_DISENCHANT, 1);
break;
}
}