Skip to content

Commit

Permalink
add summary
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-doobu committed Dec 5, 2024
1 parent 575db75 commit 87618f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Lib9c/Helper/SynthesizeSimulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,13 @@ public static List<Guid> GetItemGuids(IEnumerable<ItemBase> itemBases) => itemBa
};
}).ToList();

/// <summary>
/// Get the target grade of the item.
/// max grade is Divinity
/// </summary>
/// <param name="grade">grade of the item</param>
/// <returns>target grade</returns>
/// <exception cref="ArgumentOutOfRangeException"></exception>
public static Grade GetTargetGrade(Grade grade) => grade switch
{
Grade.Normal => Grade.Rare,
Expand Down

0 comments on commit 87618f4

Please sign in to comment.