Fix equipment stats not correctly applying after enhancing gear. Release Build 7898.

pull/35/head
sigonasr2 9 months ago
parent 09a0a16bdc
commit 592db62c9a
  1. 2
      Adventures in Lestoria/Item.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

@ -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());

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 4 #define VERSION_MINOR 4
#define VERSION_PATCH 4 #define VERSION_PATCH 4
#define VERSION_BUILD 7897 #define VERSION_BUILD 7898
#define stringify(a) stringify_(a) #define stringify(a) stringify_(a)
#define stringify_(a) #a #define stringify_(a) #a

Loading…
Cancel
Save