public static bool CanLevelUp(StatObject stat)
        {
            if (stat.Level >= stat.MaxLevel)
            {
                return(false);
            }

            if (!XP_Handler.DoesHaveLevelUp(stat.XP, stat.XPToNextLevel))
            {
                return(false);
            }

            LevelingSystem.PlayLevelUpSound();
            return(true);
        }