void Update()
    {
        CurrentHealth = Mathf.Clamp(CurrentHealth, 0, MaxHealth);

        ExpToLevel = (int)Mathf.Round(baseExp * (Mathf.Pow(CurrentLevel, levelFactor)));
        HealthBarController.SetHealth(CurrentHealth);
        CheckHealth();
        ExpBarController.SetExp(CurrentExp, ExpToLevel);
        ExpBarController.SetLevel(CurrentLevel);
        healthDebug();
        LevelUp();

        if (inRecoveryTime)
        {
            recoveryTimer += Time.deltaTime;
            if (recoveryTime <= recoveryTimer)
            {
                inRecoveryTime = false;
                recoveryTimer  = 0;
            }
        }
    }