From b451902290457768f49ca666f3c54f350b9cb470 Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Thu, 24 Apr 2025 01:47:49 -0700 Subject: [PATCH] Add WKS collectables --- Craftimizer/Utils/RecipeData.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Craftimizer/Utils/RecipeData.cs b/Craftimizer/Utils/RecipeData.cs index a91e12e..58691bf 100644 --- a/Craftimizer/Utils/RecipeData.cs +++ b/Craftimizer/Utils/RecipeData.cs @@ -93,6 +93,11 @@ public sealed record RecipeData } else if (Recipe.CollectableMetadata.GetValueOrDefault() is { } row6) 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) {