Ejemplo n.º 1
0
        public static int getNeedExp(int Exp, int level)
        {
            StrengThenExpInfo strengThenExpInfo = StrengthenMgr.FindStrengthenExpInfo(level + 1);

            if (strengThenExpInfo == null)
            {
                return(0);
            }
            return(strengThenExpInfo.Exp - Exp);
        }
Ejemplo n.º 2
0
        public static bool canUpLv(int exp, int level)
        {
            StrengThenExpInfo strengThenExpInfo = StrengthenMgr.FindStrengthenExpInfo(level + 1);

            return(strengThenExpInfo != null && exp >= strengThenExpInfo.Exp);
        }