So is that a bug in the starterkit? As the health is not updated…
Shouldn’t something like this be implemented before the max_health is updated:
self.health += type_config.get("startHealth", self.max_health) - self.max_health
and only after that
self.max_health = type_config.get("startHealth", self.max_health)