Add rules-aware lookup dice rolling
This commit is contained in:
10
src/RolemasterDb.App/Features/LookupRollResult.cs
Normal file
10
src/RolemasterDb.App/Features/LookupRollResult.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RolemasterDb.App.Features;
|
||||
|
||||
public sealed record LookupRollResult(
|
||||
int Total,
|
||||
IReadOnlyList<int> Rolls)
|
||||
{
|
||||
public bool IsOpenEnded => Rolls.Count > 1;
|
||||
}
|
||||
Reference in New Issue
Block a user