Exemple #1
0
        public static int GetCombatEftByStarLevel(int level, int star)
        {
            ResHeroLvlUpInfo dataByKey = GameDataMgr.heroLvlUpDatabin.GetDataByKey((uint)level);

            if (((dataByKey != null) && (star >= 1)) && (star <= 5))
            {
                return(dataByKey.StarCombatEft[star - 1]);
            }
            return(0);
        }
Exemple #2
0
        protected override uint calcMaxExp()
        {
            ResHeroLvlUpInfo dataByKey = GameDataMgr.heroLvlUpDatabin.GetDataByKey((uint)this.m_level);

            return(dataByKey.dwExp);
        }