XP and level up systems implemented.

This commit is contained in:
2023-12-24 22:50:25 -06:00
parent 2a72238e40
commit 4ac15dd1cc
17 changed files with 235 additions and 113 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ void Menu::InitializeCharacterMenuWindow(){
RowItemDisplay*button=dynamic_cast<RowItemDisplay*>(data.component);
if(button!=nullptr){
const std::weak_ptr<Item>buttonItem=button->GetItem();
std::vector<int>statsBeforeEquip;
std::vector<float>statsBeforeEquip;
EquipSlot slot=EquipSlot(button->I(Attribute::EQUIP_TYPE));
for(const std::string&attribute:displayAttrs){
statsBeforeEquip.push_back(game->GetPlayer()->GetStat(attribute));