mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-04-20 10:59:33 +08:00
设置售价
This commit is contained in:
parent
d178efe633
commit
7dfa6e7beb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user