Add manipulation action flag and starting quality field

This commit is contained in:
Asriel Camora
2023-06-23 03:02:03 -07:00
parent de2feb2b34
commit 37156c7f33
5 changed files with 18 additions and 4 deletions
+3 -1
View File
@@ -6,14 +6,16 @@ public sealed class SimulationInput
public RecipeInfo Recipe { get; }
public Random Random { get; }
public int StartingQuality { get; }
public int BaseProgressGain { get; }
public int BaseQualityGain { get; }
public SimulationInput(CharacterStats stats, RecipeInfo recipe, int? seed = null)
public SimulationInput(CharacterStats stats, RecipeInfo recipe, int startingQuality = 0, int? seed = null)
{
Stats = stats;
Recipe = recipe;
Random = seed == null ? new() : new(seed.Value);
StartingQuality = startingQuality;
// https://github.com/NotRanged/NotRanged.github.io/blob/0f4aee074f969fb05aad34feaba605057c08ffd1/app/js/ffxivcraftmodel.js#L88
{