Optimizations/improve action gen

This commit is contained in:
Asriel Camora
2023-07-07 20:18:30 +02:00
parent 636501ab86
commit 436858e65c
2 changed files with 10 additions and 3 deletions
+8 -1
View File
@@ -94,6 +94,13 @@ public sealed class Simulator : SimulatorNoRandom
baseAction.IncreasesQuality)
return false;
// use First Turn actions if it's available and the craft is difficult
if (baseAction.Category != ActionCategory.FirstTurn &&
Input.Recipe.ClassJobLevel == 90 &&
StepCount == 1 &&
CP > 10)
return false;
// don't allow pure quality moves under Veneration
if (HasEffect(EffectType.Veneration) &&
!baseAction.IncreasesProgress &&
@@ -130,7 +137,7 @@ public sealed class Simulator : SimulatorNoRandom
return false;
if (action == ActionType.Observe &&
CP < 5)
CP < 12)
return false;
if (action == ActionType.MastersMend &&