Beispiel #1
0
    int GetBonusAddItemByLevel(int nLevel, int nProfession)
    {
        Tab_VipBook tBook = TableManager.GetVipBookByID(nLevel, 0);

        if (tBook != null && nProfession >= 0 && nProfession < tBook.getVipAddCount())
        {
            return(tBook.GetVipAddbyIndex(nProfession));
        }
        return(0);
    }