public static HeroStrengthenProvideData GetHeroStrengthenProvideDataByID(int star)
        {
            HeroStrengthenProvideData data = null;

            if (HeroStrengthenProvideDataDictionary.ContainsKey(star) && HeroStrengthenProvideDataDictionary[star] != null)
            {
                data = HeroStrengthenProvideDataDictionary[star];
            }
            return(data);
        }
        public static HeroStrengthenProvideData GetHeroStrengthenProvideDataByExp(int expTotal)
        {
            List <HeroStrengthenProvideData> dataList = GetProvideDataList();
            int exp = 0;

            int count = dataList.Count;
            HeroStrengthenProvideData data = null;

            for (int i = 0; i < count; i++)
            {
                data = dataList[i];
                exp += data.exp_provide;
                if (expTotal < exp)
                {
                    break;
                }
            }
            return(data);
        }