Combo actions for better macro quality
This commit is contained in:
+18
-1
@@ -1,4 +1,5 @@
|
||||
using Craftimizer.Simulator;
|
||||
using Craftimizer.Simulator.Actions;
|
||||
using Craftimizer.Solver.Crafty;
|
||||
using System.Diagnostics;
|
||||
|
||||
@@ -52,7 +53,23 @@ internal static class Program
|
||||
|
||||
var sim = new SimulatorNoRandom(new(input));
|
||||
(_, var state) = sim.Execute(new(input), ActionType.MuscleMemory);
|
||||
Console.WriteLine($"{state.Quality} {state.CP} {state.Progress}");
|
||||
(_, state) = sim.Execute(state, ActionType.PrudentTouch);
|
||||
(_, state) = sim.Execute(state, ActionType.Manipulation);
|
||||
(_, state) = sim.Execute(state, ActionType.Veneration);
|
||||
(_, state) = sim.Execute(state, ActionType.WasteNot);
|
||||
(_, state) = sim.Execute(state, ActionType.Groundwork);
|
||||
(_, state) = sim.Execute(state, ActionType.Groundwork);
|
||||
(_, state) = sim.Execute(state, ActionType.Groundwork);
|
||||
(_, state) = sim.Execute(state, ActionType.Innovation);
|
||||
(_, state) = sim.Execute(state, ActionType.PrudentTouch);
|
||||
(_, state) = sim.Execute(state, ActionType.AdvancedTouchCombo);
|
||||
(_, state) = sim.Execute(state, ActionType.Manipulation);
|
||||
(_, state) = sim.Execute(state, ActionType.Innovation);
|
||||
(_, state) = sim.Execute(state, ActionType.PrudentTouch);
|
||||
(_, state) = sim.Execute(state, ActionType.AdvancedTouchCombo);
|
||||
(_, state) = sim.Execute(state, ActionType.GreatStrides);
|
||||
|
||||
Console.WriteLine($"{state.Quality} {state.CP} {state.Progress} {state.Durability}");
|
||||
//return;
|
||||
var (_, s) = Solver.Crafty.Solver.SearchStepwiseFurcated(config, state, a => Console.WriteLine(a));
|
||||
Console.WriteLine($"Qual: {s.Quality}/{s.Input.Recipe.MaxQuality}");
|
||||
|
||||
Reference in New Issue
Block a user