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