public static EquipmentStrengthenNeedData LastNeedData()
        {
            List <EquipmentStrengthenNeedData> dataList = getStrengthenNeedDataList();
            EquipmentStrengthenNeedData        data     = dataList[dataList.Count - 1];

            return(data);
        }
        public static EquipmentStrengthenNeedData GetStrengthenNeedDataByLv(int lv)
        {
            EquipmentStrengthenNeedData data = null;

            if (EquipmentStrengthenNeedDataDictionary.ContainsKey(lv))
            {
                data = EquipmentStrengthenNeedDataDictionary[lv];
            }
            return(data);
        }
        public static EquipmentStrengthenNeedData GetStrengthenNeedDataByExp(int expTotal)
        {
            List <EquipmentStrengthenNeedData> dataList = getStrengthenNeedDataList();
            EquipmentStrengthenNeedData        data     = null;
            int needTotal = 0;

            for (int i = 0, count = dataList.Count; i < count; i++)
            {
                data       = dataList[i];
                needTotal += data.exp_need;
                if (expTotal < needTotal)
                {
                    return(data);
                }
            }
            return(null);
        }