Add WKS collectables

This commit is contained in:
Asriel Camora
2025-04-24 01:47:49 -07:00
parent 8737d497cd
commit b451902290
+5
View File
@@ -93,6 +93,11 @@ public sealed record RecipeData
} }
else if (Recipe.CollectableMetadata.GetValueOrDefault<CollectablesRefine>() is { } row6) else if (Recipe.CollectableMetadata.GetValueOrDefault<CollectablesRefine>() is { } row6)
thresholds = [row6.CollectabilityLow, row6.CollectabilityMid, row6.CollectabilityHigh]; thresholds = [row6.CollectabilityLow, row6.CollectabilityMid, row6.CollectabilityHigh];
else if (Recipe.CollectableMetadataKey == 7 && LuminaSheets.WKSMissionToDoEvalutionRefinSheet.TryGetRow(Recipe.CollectableMetadata.RowId, out var row7))
{
thresholds = [row7.Unknown0, row7.Unknown1, row7.Unknown2];
thresholds = [.. thresholds.Select(percentage => RecipeInfo.MaxQuality * percentage / 1000)];
}
if (thresholds != null) if (thresholds != null)
{ {