The curse of stg
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user