diff --git a/Craftimizer/Utils/RecipeData.cs b/Craftimizer/Utils/RecipeData.cs index fc66c25..58691bf 100644 --- a/Craftimizer/Utils/RecipeData.cs +++ b/Craftimizer/Utils/RecipeData.cs @@ -34,10 +34,10 @@ public sealed record RecipeData ClassJob = (ClassJob)Recipe.CraftType.RowId; var resolvedLevelTableRow = Recipe.RecipeLevelTable.RowId; - if (Recipe.MaxAdjustableJobLevel != 0) + if (Recipe.Unknown0 != 0) { - AdjustedJobLevel = Math.Min(explicitlyAdjustedJobLevel ?? ClassJob.GetWKSSyncedLevel(), Recipe.MaxAdjustableJobLevel); - resolvedLevelTableRow = LuminaSheets.GathererCrafterLvAdjustTableSheet.GetRow(AdjustedJobLevel.Value).RecipeLevel; + AdjustedJobLevel = Math.Min(explicitlyAdjustedJobLevel ?? ClassJob.GetWKSSyncedLevel(), Recipe.Unknown0); + resolvedLevelTableRow = LuminaSheets.GathererCrafterLvAdjustTableSheet.GetRow(AdjustedJobLevel.Value).Unknown0; } Table = LuminaSheets.RecipeLevelTableSheet.GetRow(resolvedLevelTableRow); @@ -46,7 +46,7 @@ public sealed record RecipeData IsExpert = Recipe.IsExpert, ClassJobLevel = Table.ClassJobLevel, ConditionsFlag = Table.ConditionsFlag, - MaxDurability = (Recipe.MaxAdjustableJobLevel != 0 ? 80 : Table.Durability) * Recipe.DurabilityFactor / 100, + MaxDurability = (Recipe.Unknown0 != 0 ? 80 : Table.Durability) * Recipe.DurabilityFactor / 100, MaxQuality = (Recipe.CanHq || Recipe.IsExpert) ? (int)Table.Quality * Recipe.QualityFactor / 100 : 0, MaxProgress = Table.Difficulty * Recipe.DifficultyFactor / 100, QualityModifier = Table.QualityModifier,