def getDifficulty(self):
     if self.difficultyOverride is not None:
         return self.difficultyOverride
     if hasattr(base, 'minigameDifficulty'):
         return float(base.minigameDifficulty)
     return MinigameGlobals.getDifficulty(self.getSafezoneId())