mirror of
https://github.com/milimoe/FunGame-Testing.git
synced 2025-12-05 08:09:04 +00:00
地区、技能、探索优化;新增锁定物品
This commit is contained in:
parent
8d3aabc5fd
commit
850dad7eff
@ -30,7 +30,9 @@ FunGameController controller = new(new Logger<FunGameController>(new LoggerFacto
|
|||||||
|
|
||||||
await CharacterTest.CharacterTest2();
|
await CharacterTest.CharacterTest2();
|
||||||
|
|
||||||
await ActivityTest.Test();
|
ActivityTest.Test2();
|
||||||
|
|
||||||
|
//await ActivityTest.Test();
|
||||||
|
|
||||||
//foreach (Skill s in FunGameConstant.Skills)
|
//foreach (Skill s in FunGameConstant.Skills)
|
||||||
//{
|
//{
|
||||||
|
|||||||
@ -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 Milimoe.FunGame.Core.Library.Constant;
|
||||||
using Oshima.FunGame.OshimaModules.Items;
|
using Oshima.FunGame.OshimaModules.Items;
|
||||||
using Oshima.FunGame.OshimaServers.Service;
|
using Oshima.FunGame.OshimaServers.Service;
|
||||||
@ -250,5 +251,19 @@ namespace Milimoe.FunGame.Testing.Tests
|
|||||||
Console.WriteLine(FunGameService.GetEvent(6));
|
Console.WriteLine(FunGameService.GetEvent(6));
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void Test2()
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
EntityModuleConfig<Quest> quests = new("1", "1");
|
||||||
|
Console.WriteLine(FunGameService.CheckQuestList(quests));
|
||||||
|
ConsoleKey key = Console.ReadKey().Key;
|
||||||
|
if (key == ConsoleKey.Escape)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -158,6 +158,10 @@ namespace Milimoe.FunGame.Testing.Tests
|
|||||||
}
|
}
|
||||||
else if (key == ConsoleKey.F3)
|
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);
|
FunGameSimulation.DropItems(queue, 5, 5, 5, 5, 5);
|
||||||
FunGameService.SetCharacterPrimaryAttribute(character1);
|
FunGameService.SetCharacterPrimaryAttribute(character1);
|
||||||
FunGameService.SetCharacterPrimaryAttribute(character2);
|
FunGameService.SetCharacterPrimaryAttribute(character2);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user