更新游戏平衡常数

This commit is contained in:
milimoe 2024-12-13 01:47:05 +08:00
parent 855d8bf120
commit d0d728c130
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
3 changed files with 14 additions and 1 deletions

View File

@ -18,6 +18,10 @@
<DebugType>embedded</DebugType> <DebugType>embedded</DebugType>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="FunGame.Core"> <Reference Include="FunGame.Core">
<HintPath>..\..\FunGame.Core\bin\Debug\net9.0\FunGame.Core.dll</HintPath> <HintPath>..\..\FunGame.Core\bin\Debug\net9.0\FunGame.Core.dll</HintPath>

View File

@ -23,6 +23,10 @@
<None Remove="Items\**" /> <None Remove="Items\**" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\FunGame.Core\FunGame.Core.csproj" /> <ProjectReference Include="..\..\FunGame.Core\FunGame.Core.csproj" />
<ProjectReference Include="..\..\OshimaGameModule\OshimaCore\OshimaCore.csproj" /> <ProjectReference Include="..\..\OshimaGameModule\OshimaCore\OshimaCore.csproj" />

View File

@ -29,7 +29,12 @@ FunGameController controller = new(new Logger<FunGameController>(new LoggerFacto
Console.WriteLine(controller.CreateSaved(1, "test1")); Console.WriteLine(controller.CreateSaved(1, "test1"));
Console.WriteLine(controller.CreateSaved(2, "test2")); Console.WriteLine(controller.CreateSaved(2, "test2"));
foreach (string str in controller.FightCustom(1, 2)) PluginConfig pc = new("saved", "2");
pc.LoadConfig();
User user = FunGameService.GetUser(pc);
Console.WriteLine(user.Inventory);
foreach (string str in controller.GetTest(false, true))
{ {
Console.WriteLine(str); Console.WriteLine(str);
} }