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);