Exemple #1
0
        public static int AntiqueTotalValue(int cost, Mobile player, bool karma)
        {
            int gold = cost;

            gold = gold + AntiqueMerchantGold(cost, player);
            gold = gold + AntiqueBeggingGold(cost, player);
            gold = gold + AntiqueGuildGold(cost, player);

            if (BaseVendor.BeggingPose(player) > 0 && karma)
            {
                Titles.AwardKarma(player, -BaseVendor.BeggingKarma(player), false);
            }

            return(gold);
        }