From 7dfa6e7bebd3b8fd2133685d05b0818b56afb444 Mon Sep 17 00:00:00 2001 From: milimoe Date: Tue, 21 Jan 2025 01:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=94=AE=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OshimaServers/Service/FunGameService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OshimaServers/Service/FunGameService.cs b/OshimaServers/Service/FunGameService.cs index 4375c78..849fcc2 100644 --- a/OshimaServers/Service/FunGameService.cs +++ b/OshimaServers/Service/FunGameService.cs @@ -2034,8 +2034,9 @@ namespace Oshima.FunGame.OshimaServers.Service for (int i = 0; i < 4; i++) { int index = Random.Shared.Next(AllItems.Count); - Item item = AllItems[index]; + Item item = AllItems[index].Copy(); double price = Random.Shared.NextDouble() * 10000 * (int)item.QualityType * 20; + item.Price = price; daily.AddItem(item, Random.Shared.Next(3)); } store.Add("daily", daily);