def METHOD_NAME(self):
    scale = self.scales.getBoneMassScale()
    if self.bone >= scale[0]:
        return 0.0
    elif self.bone <= (scale[0] - 0.3):
        return 10.0
    else:
        return self.getMalus(self.bone, scale[0] - 0.3, scale[0], 10, 5) + 5.0