Beispiel #1
0
 public static int AntiqueBeggingGold(int cost, Mobile player)
 {
     if (BaseVendor.BeggingPose(player) > 0)
     {
         return((int)((cost * (player.Skills[SkillName.Begging].Value * 0.01) / 4)));
     }
     return(0);
 }
Beispiel #2
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);
        }