Hardmode cleanups (#954)

* load values once
so that it doesn't check every time
don't return, just skip
don't realod char

* address feedback

* don't drop the only item you can't get again

* address most feedback

* move settings for HC mode

* fix comment

* claenup whitespace
This commit is contained in:
Aaron Kimbrell
2023-01-12 13:16:24 -06:00
committed by GitHub
parent 7bca43ffc1
commit 872270704c
4 changed files with 100 additions and 70 deletions

View File

@@ -452,6 +452,9 @@ public:
void Subscribe(LWOOBJID scriptObjId, CppScripts::Script* scriptToAdd);
void Unsubscribe(LWOOBJID scriptObjId);
// handle hardcode mode drops
void DoHardcoreModeDrops(const LWOOBJID source);
private:
/**
* Whether or not the health should be serialized