diff --git a/Lib9c/Helper/SynthesizeSimulator.cs b/Lib9c/Helper/SynthesizeSimulator.cs index 83b5436a3b..1157f49718 100644 --- a/Lib9c/Helper/SynthesizeSimulator.cs +++ b/Lib9c/Helper/SynthesizeSimulator.cs @@ -602,14 +602,14 @@ public static HashSet GetSynthesizeResultPool(Grade sourceGrade, ItemSubTyp /// grades of material items /// excepted FullCostume,Title /// CostumeItemSheet to use - /// list of items key(int) - public static HashSet GetSynthesizeResultPool(HashSet sourceGrades, ItemSubType subType, CostumeItemSheet sheet) + /// list of items key(int), grade(Grade) tuple + public static HashSet<(int, Grade)> GetSynthesizeResultPool(HashSet sourceGrades, ItemSubType subType, CostumeItemSheet sheet) { return sheet .Values .Where(r => r.ItemSubType == subType) .Where(r => sourceGrades.Any(grade => (Grade)r.Grade == grade)) - .Select(r => r.Id) + .Select(r => (r.Id, (Grade)r.Grade)) .ToHashSet(); } @@ -619,14 +619,14 @@ public static HashSet GetSynthesizeResultPool(HashSet sourceGrades, /// grades of material items /// excepted Grimoire,Aura /// EquipmentItemSheet to use - /// list of items key(int) - public static HashSet GetSynthesizeResultPool(HashSet sourceGrades, ItemSubType subType, EquipmentItemSheet sheet) + /// list of items key(int), grade(Grade) tuple + public static HashSet<(int, Grade)> GetSynthesizeResultPool(HashSet sourceGrades, ItemSubType subType, EquipmentItemSheet sheet) { return sheet .Values .Where(r => r.ItemSubType == subType) .Where(r => sourceGrades.Any(grade => (Grade)r.Grade == grade)) - .Select(r => r.Id) + .Select(r => (r.Id, (Grade)r.Grade)) .ToHashSet(); }