From 591175b781812c90080e042565d8fd5973747a1f Mon Sep 17 00:00:00 2001 From: milimoe Date: Thu, 26 Jun 2025 01:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8D=87=E5=93=81=E8=B4=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Main.cs | 6 ++++++ Library/Tests/FunGame.cs | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Library/Main.cs b/Library/Main.cs index dc4bb91..a8f9842 100644 --- a/Library/Main.cs +++ b/Library/Main.cs @@ -5,6 +5,7 @@ using Milimoe.FunGame.Core.Entity; using Milimoe.FunGame.Core.Library.Constant; using Milimoe.FunGame.Testing.Tests; using Oshima.FunGame.OshimaModules; +using Oshima.FunGame.OshimaModules.Regions; using Oshima.FunGame.OshimaServers.Service; using Oshima.FunGame.WebAPI.Controllers; @@ -97,6 +98,11 @@ foreach (Item i in FunGameConstant.Equipment) Console.WriteLine(builder.ToString()); } Console.ReadKey(); +foreach (OshimaRegion region in FunGameConstant.Regions.Union(FunGameConstant.PlayerRegions)) +{ + Console.WriteLine(region.ToString()); +} +Console.ReadKey(); //Dictionary rounds = FunGameSimulation.ReadRoundsFromZip("rounds_archive.zip") ?? []; //Console.WriteLine(rounds.Count); diff --git a/Library/Tests/FunGame.cs b/Library/Tests/FunGame.cs index 649be2d..b5e2aa2 100644 --- a/Library/Tests/FunGame.cs +++ b/Library/Tests/FunGame.cs @@ -126,23 +126,23 @@ namespace Milimoe.FunGame.Testing.Tests WriteLine(""); if (isWeb) result.Add("=== 空投 ===\r\n" + Msg); double nextDropItemTime = 40; - if (qMagicCardPack < 4) + if (qMagicCardPack < 5) { qMagicCardPack++; } - if (qWeapon < 4) + if (qWeapon < 5) { qWeapon++; } - if (qArmor < 1) + if (qArmor < 5) { qArmor++; } - if (qShoes < 1) + if (qShoes < 5) { qShoes++; } - if (qAccessory < 3) + if (qAccessory < 5) { qAccessory++; } @@ -258,23 +258,23 @@ namespace Milimoe.FunGame.Testing.Tests WriteLine(""); if (isWeb) result.Add("=== 空投 ===\r\n" + Msg); nextDropItemTime = 40; - if (qMagicCardPack < 4) + if (qMagicCardPack < 5) { qMagicCardPack++; } - if (qWeapon < 4) + if (qWeapon < 5) { qWeapon++; } - if (qArmor < 1) + if (qArmor < 5) { qArmor++; } - if (qShoes < 1) + if (qShoes < 5) { qShoes++; } - if (qAccessory < 3) + if (qAccessory < 5) { qAccessory++; }