设置售价

This commit is contained in:
milimoe 2025-01-21 01:38:19 +08:00
parent d178efe633
commit 7dfa6e7beb
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E

View File

@ -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);