This commit is contained in:
David Markowitz
2025-10-03 22:58:13 -07:00
parent 80f909abb9
commit e756ce4ec4

View File

@@ -460,7 +460,7 @@ void Mission::YieldRewards() {
if (info.LegoScore > 0) {
eLootSourceType lootSource = info.isMission ? eLootSourceType::MISSION : eLootSourceType::ACHIEVEMENT;
if (levelComponent->GetLevel() >= Game::zoneManager->GetWorldConfig().levelCap) {
// If player is at the level cap and doesnt want to keep earning UScore at max level we convert it here.
// Since the character is at the level cap we reward them with coins instead of UScore.
coinsToSend += info.LegoScore * Game::zoneManager->GetWorldConfig().levelCapCurrencyConversion;
} else {
characterComponent->SetUScore(characterComponent->GetUScore() + info.LegoScore);