Skip to content

Commit

Permalink
fix: convergence wrong price calculation
Browse files Browse the repository at this point in the history
Resolves #2523
  • Loading branch information
dudantas committed Sep 27, 2024
1 parent 11bd3a6 commit 07f2bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creatures/players/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7213,7 +7213,7 @@ void Player::forgeFuseItems(ForgeAction_t actionType, uint16_t firstItemId, uint
}

for (const auto &[mapTier, mapPrice] : itemClassification->tiers) {
if (mapTier == firstForgingItem->getTier()) {
if (mapTier == firstForgingItem->getTier() + 1) {
cost = mapPrice.convergenceFusionPrice;
break;
}
Expand Down

0 comments on commit 07f2bab

Please sign in to comment.