Example #1
0
    public static bool IsEnoughMaterail(int talentId, int talentLv)
    {
        long haveMaterailCount = PetEvoGlobal.GetHaveMaterailCount(talentId, talentLv);
        int  materialNum       = PetEvoGlobal.GetMaterialNum(talentId, talentLv);

        return(haveMaterailCount >= (long)materialNum);
    }