Skip to content

Commit

Permalink
fix: convergence wrong price calculation (opentibiabr#2918)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas authored Sep 28, 2024
1 parent 11bd3a6 commit edeff04
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 edeff04

Please sign in to comment.