mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-26 06:30:17 +00:00
Updated how skills and upgrades work, more gui stuff
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user