예제 #1
0
    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);
    }
예제 #2
0
 protected override List <int> GetCellIds()
 {
     return(PetEvoGlobal.GetSkillIds(PetBasicUIViewModel.PetID));
 }