mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
fix: world Amphoreus chest drop
This commit is contained in:
@@ -30,6 +30,8 @@ public class DropService
|
||||
world = ChestTypeEnum.CHEST_WORLD_THREE;
|
||||
else if (chest.ChestType.Contains(ChestTypeEnum.CHEST_WORLD_ZERO))
|
||||
world = ChestTypeEnum.CHEST_WORLD_ZERO;
|
||||
else if (chest.ChestType.Contains(ChestTypeEnum.CHEST_WORLD_FOUR))
|
||||
world = ChestTypeEnum.CHEST_WORLD_FOUR;
|
||||
|
||||
items.Add(new ItemData
|
||||
{
|
||||
@@ -115,6 +117,19 @@ public class DropService
|
||||
}
|
||||
});
|
||||
break;
|
||||
case ChestTypeEnum.CHEST_WORLD_FOUR:
|
||||
items.Add(new ItemData
|
||||
{
|
||||
ItemId = 120004,
|
||||
Count = level switch
|
||||
{
|
||||
ChestTypeEnum.CHEST_LOW_LEVEL => 60,
|
||||
ChestTypeEnum.CHEST_MIDDLE_LEVEL => 90,
|
||||
ChestTypeEnum.CHEST_HIGH_LEVEL => 120,
|
||||
_ => 60
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
items.Add(new ItemData
|
||||
|
||||
Reference in New Issue
Block a user