def set_maxHp(self, maxHp):
if type(maxHp) in [
types.IntType,
types.FloatType]:
self._DistributedCapturePoint__maxHp = maxHp
else:
self._DistributedCapturePoint__maxHp = 1