|
|
@ -928,6 +928,8 @@ void Item::EnhanceItem(uint8_t qty){ |
|
|
|
game->GetPlayer()->SetMoney(game->GetPlayer()->GetMoney()-consumedResources.GetCost()); |
|
|
|
game->GetPlayer()->SetMoney(game->GetPlayer()->GetMoney()-consumedResources.GetCost()); |
|
|
|
|
|
|
|
|
|
|
|
SoundEffect::PlaySFX("Enhance Item",SoundEffect::CENTERED); |
|
|
|
SoundEffect::PlaySFX("Enhance Item",SoundEffect::CENTERED); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
game->GetPlayer()->RecalculateEquipStats(); |
|
|
|
}else{ //This is a craftable, so we have to give the player the item they crafted.
|
|
|
|
}else{ //This is a craftable, so we have to give the player the item they crafted.
|
|
|
|
Inventory::AddItem(ActualName()); |
|
|
|
Inventory::AddItem(ActualName()); |
|
|
|
|
|
|
|
|
|
|
|