mirror of
https://github.com/milimoe/FunGame-Testing.git
synced 2026-01-19 22:18:26 +00:00
添加地图自动化模拟和新技能
This commit is contained in:
parent
314c694ee2
commit
7c8d404eb5
@ -1,7 +1,8 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Milimoe.FunGame.Core.Api.Utility;
|
using Milimoe.FunGame.Core.Api.Utility;
|
||||||
using Milimoe.FunGame.Core.Entity;
|
using Milimoe.FunGame.Core.Entity;
|
||||||
using Milimoe.FunGame.Testing.Tests;
|
using Milimoe.FunGame.Core.Model;
|
||||||
|
using Oshima.FunGame.OshimaMaps;
|
||||||
using Oshima.FunGame.OshimaModules;
|
using Oshima.FunGame.OshimaModules;
|
||||||
using Oshima.FunGame.OshimaModules.Models;
|
using Oshima.FunGame.OshimaModules.Models;
|
||||||
using Oshima.FunGame.OshimaServers.Service;
|
using Oshima.FunGame.OshimaServers.Service;
|
||||||
@ -32,10 +33,13 @@ FunGameController controller = new(new Logger<FunGameController>(new LoggerFacto
|
|||||||
|
|
||||||
//await CharacterTest.CharacterTest2();
|
//await CharacterTest.CharacterTest2();
|
||||||
|
|
||||||
ActivityTest.Test3();
|
//ActivityTest.Test3();
|
||||||
|
|
||||||
//await ActivityTest.Test();
|
//await ActivityTest.Test();
|
||||||
|
|
||||||
|
GamingQueue queue = new();
|
||||||
|
queue.LoadGameMap(new FastAutoMap());
|
||||||
|
|
||||||
//foreach (Item i in FunGameConstant.Equipment)
|
//foreach (Item i in FunGameConstant.Equipment)
|
||||||
//{
|
//{
|
||||||
// Console.WriteLine(i.ToString(true, false));
|
// Console.WriteLine(i.ToString(true, false));
|
||||||
@ -43,6 +47,7 @@ ActivityTest.Test3();
|
|||||||
|
|
||||||
foreach (Skill s in FunGameConstant.Skills)
|
foreach (Skill s in FunGameConstant.Skills)
|
||||||
{
|
{
|
||||||
|
s.GamingQueue = queue;
|
||||||
s.Level = 6;
|
s.Level = 6;
|
||||||
Console.WriteLine(s.GetInfo());
|
Console.WriteLine(s.GetInfo());
|
||||||
}
|
}
|
||||||
@ -90,13 +95,13 @@ Console.ReadKey();
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
await FunGameSimulation.StartSimulationGame(true, false, true, false, useStore: false);
|
await FunGameSimulation.StartSimulationGame(true, false, true, false, useStore: false, hasMap: true);
|
||||||
ConsoleKeyInfo key = Console.ReadKey();
|
ConsoleKeyInfo key = Console.ReadKey();
|
||||||
if (key.Key == ConsoleKey.Escape)
|
if (key.Key == ConsoleKey.Escape)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
await FunGameSimulation.StartSimulationGame(true, false, false, false);
|
await FunGameSimulation.StartSimulationGame(true, false, false, false, hasMap: true);
|
||||||
key = Console.ReadKey();
|
key = Console.ReadKey();
|
||||||
if (key.Key == ConsoleKey.Escape)
|
if (key.Key == ConsoleKey.Escape)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user