public static int getNeedExp(int Exp, int level) { StrengThenExpInfo strengThenExpInfo = StrengthenMgr.FindStrengthenExpInfo(level + 1); if (strengThenExpInfo == null) { return(0); } return(strengThenExpInfo.Exp - Exp); }
public static bool canUpLv(int exp, int level) { StrengThenExpInfo strengThenExpInfo = StrengthenMgr.FindStrengthenExpInfo(level + 1); return(strengThenExpInfo != null && exp >= strengThenExpInfo.Exp); }