Enemy.health which is always 50?


#1

I’ve been running code in survival with checks against enemy.health than noticed it’s firing a little too eagerly and apparently it’s always 50 for all units, even weakest ones that have like 14hp.

Had I stumbled into some property I am not supposed to use?


#2

Ok. not sure what that was about… Either I noticed it stuck in specific game or there was some screw up in my code.


#3

The doors in Cavern Survival have 50 health; I bet that’s what you were seeing.