Skip to content

Commit

Permalink
Merge pull request #20 from TheZoroark007/BattleTowerEdition
Browse files Browse the repository at this point in the history
Added battle tower editors
  • Loading branch information
Nifyr authored Jul 10, 2023
2 parents 369f01b + c4dcf37 commit 99f9236
Show file tree
Hide file tree
Showing 17 changed files with 6,857 additions and 4,582 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/net5.0-windows/Imposter's Ordeal.dll",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/Imposter's Ordeal.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/Imposter's Ordeal.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/Imposter's Ordeal.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
12 changes: 7 additions & 5 deletions Analyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,13 @@ public static MainForm.RandomizerSetupConfig GetSetupConfig()
instances[3]++;
break;
}
List<string> affinities = new List<string>();
affinities.Add("0x");
affinities.Add("1/2x");
affinities.Add("1x");
affinities.Add("2x");
List<string> affinities = new()
{
"0x",
"1/2x",
"1x",
"2x"
};
IDistribution[] affinityDistributions = new IDistribution[]
{
new Empirical(100, instances.ToList()),
Expand Down
5,320 changes: 2,757 additions & 2,563 deletions DataParser.cs

Large diffs are not rendered by default.

Loading

0 comments on commit 99f9236

Please sign in to comment.