Use PC_MAXHEALTH() in the rest of the codebase.

+ minor fixups
This commit is contained in:
2020-09-21 18:03:25 +02:00
parent 113ecc8f60
commit 321dca3f79
4 changed files with 28 additions and 24 deletions

View File

@@ -8,6 +8,7 @@
* implementing just yet anyway.
*/
// floats
const float VALUE_BATTERY_EMPTY_PENALTY = 0.5f;
const float CN_EP_RANK_1 = 0.8f;
const float CN_EP_RANK_2 = 0.7f;
@@ -15,6 +16,7 @@ const float CN_EP_RANK_3 = 0.5f;
const float CN_EP_RANK_4 = 0.3f;
const float CN_EP_RANK_5 = 0.29f;
// nano powers
enum {
EST_NONE = 0,
EST_DAMAGE = 1,