Beispiel #1
0
    public static bool IsCanCompose(int typeId)
    {
        if (GemGlobal.IsGemMaxLv(typeId))
        {
            return(false);
        }
        int afterId            = GemGlobal.GetAfterId(typeId);
        int composeAmount      = GemGlobal.GetComposeAmount(afterId);
        int gemTotalCountInBag = GemGlobal.GetGemTotalCountInBag(typeId);

        return(gemTotalCountInBag >= composeAmount);
    }