From 850dad7eff25e7bbf9d2d1af31b06ae35653d838 Mon Sep 17 00:00:00 2001 From: milimoe Date: Fri, 4 Jul 2025 19:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E3=80=81=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E3=80=81=E6=8E=A2=E7=B4=A2=E4=BC=98=E5=8C=96=EF=BC=9B=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E9=94=81=E5=AE=9A=E7=89=A9=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Main.cs | 4 +++- Library/Tests/ActivityTest.cs | 17 ++++++++++++++++- Library/Tests/CharacterTest.cs | 4 ++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Library/Main.cs b/Library/Main.cs index 2ec77f4..09b0486 100644 --- a/Library/Main.cs +++ b/Library/Main.cs @@ -30,7 +30,9 @@ FunGameController controller = new(new Logger(new LoggerFacto await CharacterTest.CharacterTest2(); -await ActivityTest.Test(); +ActivityTest.Test2(); + +//await ActivityTest.Test(); //foreach (Skill s in FunGameConstant.Skills) //{ diff --git a/Library/Tests/ActivityTest.cs b/Library/Tests/ActivityTest.cs index ca8efa6..da1df9c 100644 --- a/Library/Tests/ActivityTest.cs +++ b/Library/Tests/ActivityTest.cs @@ -1,4 +1,5 @@ -using Milimoe.FunGame.Core.Entity; +using Milimoe.FunGame.Core.Api.Utility; +using Milimoe.FunGame.Core.Entity; using Milimoe.FunGame.Core.Library.Constant; using Oshima.FunGame.OshimaModules.Items; using Oshima.FunGame.OshimaServers.Service; @@ -250,5 +251,19 @@ namespace Milimoe.FunGame.Testing.Tests Console.WriteLine(FunGameService.GetEvent(6)); Console.ReadKey(); } + + public static void Test2() + { + while (true) + { + EntityModuleConfig quests = new("1", "1"); + Console.WriteLine(FunGameService.CheckQuestList(quests)); + ConsoleKey key = Console.ReadKey().Key; + if (key == ConsoleKey.Escape) + { + break; + } + } + } } } diff --git a/Library/Tests/CharacterTest.cs b/Library/Tests/CharacterTest.cs index bcfa4a6..0c44977 100644 --- a/Library/Tests/CharacterTest.cs +++ b/Library/Tests/CharacterTest.cs @@ -158,6 +158,10 @@ namespace Milimoe.FunGame.Testing.Tests } else if (key == ConsoleKey.F3) { + character1.Items.Clear(); + character2.Items.Clear(); + character3.Items.Clear(); + character4.Items.Clear(); FunGameSimulation.DropItems(queue, 5, 5, 5, 5, 5); FunGameService.SetCharacterPrimaryAttribute(character1); FunGameService.SetCharacterPrimaryAttribute(character2);