mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
30 lines
629 B
C#
30 lines
629 B
C#
using EggLink.DanhengServer.Database.Inventory;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Game.Drop;
|
|
|
|
public class DropService
|
|
{
|
|
public static List<ItemData> CalculateDropsFromProp()
|
|
{
|
|
List<ItemData> drops =
|
|
[
|
|
new ItemData
|
|
{
|
|
ItemId = 1,
|
|
Count = 5
|
|
},
|
|
new ItemData
|
|
{
|
|
ItemId = 22,
|
|
Count = 5
|
|
},
|
|
new ItemData
|
|
{
|
|
ItemId = 2,
|
|
Count = new Random().Next(20, 100)
|
|
}
|
|
];
|
|
|
|
return drops;
|
|
}
|
|
} |