public static bool IsSkillsCanLvUp(int petId) { List <int> skillIds = PetEvoGlobal.GetSkillIds(petId); using (List <int> .Enumerator enumerator = skillIds.GetEnumerator()) { while (enumerator.MoveNext()) { int current = enumerator.get_Current(); int skillLv = PetEvoGlobal.GetSkillLv(petId, current); int nextTalentLv = skillLv + 1; if (PetEvoGlobal.IsOneSkillCanLvUp(petId, current, skillLv, nextTalentLv)) { return(true); } } } return(false); }
protected override List <int> GetCellIds() { return(PetEvoGlobal.GetSkillIds(PetBasicUIViewModel.PetID)); }