예제 #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);
        }
예제 #2
0
        public static bool canUpLv(int exp, int level)
        {
            StrengThenExpInfo strengThenExpInfo = StrengthenMgr.FindStrengthenExpInfo(level + 1);

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