Updated how skills and upgrades work, more gui stuff

This commit is contained in:
wincent
2024-07-17 20:59:11 +02:00
parent 5e3312850c
commit 3178a702a7
27 changed files with 986 additions and 205 deletions

View File

@@ -977,7 +977,7 @@ void GameMessages::SendResurrect(Entity* entity) {
int32_t imaginationToRestore = levelComponent->GetLevel() >= 45 ? 20 : 6;
if (imaginationToRestore > destroyableComponent->GetMaxImagination()) imaginationToRestore = destroyableComponent->GetMaxImagination();
destroyableComponent->SetImagination(imaginationToRestore);
destroyableComponent->SetImagination(destroyableComponent->GetMaxImagination());
}
}
});