From 85d5a6b170eb0a95e0d0b621a49dafd702fa7ae3 Mon Sep 17 00:00:00 2001 From: "Adam (Padre)" Date: Fri, 8 Dec 2023 19:53:13 -0500 Subject: [PATCH] Update Vendor.cs Appraisal discounts much better! Original values left commented out for reference. --- Source/ACE.Server/WorldObjects/Vendor.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/ACE.Server/WorldObjects/Vendor.cs b/Source/ACE.Server/WorldObjects/Vendor.cs index 01efa780c3..06e70f614a 100644 --- a/Source/ACE.Server/WorldObjects/Vendor.cs +++ b/Source/ACE.Server/WorldObjects/Vendor.cs @@ -748,19 +748,22 @@ public bool BuyItems_ValidateTransaction(List itemProfiles, Player { Proficiency.OnSuccessUse(player, appraisalSkill, diff3); - totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.85f), 1); + /// totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.85f), 1); + totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.10f), 1); } else if (chance2 > roll) { Proficiency.OnSuccessUse(player, appraisalSkill, diff2); - totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.90f), 1); + /// totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.90f), 1); + totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.30f), 1); } else if (chance1 > roll) { Proficiency.OnSuccessUse(player, appraisalSkill, diff1); - totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.95f), 1); + /// totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.95f), 1); + totalPriceAfterHaggling += (uint)Math.Max(Math.Ceiling(cost * 0.50f), 1); } else totalPriceAfterHaggling += cost;