Fixing hp bugs
This commit is contained in:
1 parent
49501e32ce
commit
21bf3f0710
10 files changed
+38
-16
No files matched your search
+1
-3
@@ -108,9 +108,7 @@ public:
|
||||
std::string npcId;
|
||||
std::string npcName;
|
||||
float hp = 200.f;
|
||||
// Captured lazily from `hp` on the first update() tick if left at zero;
|
||||
// set explicitly if you need a different reference for the health bar.
|
||||
float initialHp = 0.f;
|
||||
float initialHp = 200.f;
|
||||
|
||||
|
||||
int battle_state = 0;
|
||||
|
||||
Reference in new issue
Block a user