Ejemplo n.º 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);
 }
Ejemplo n.º 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);
        }