using RpgRoller.Domain;

namespace RpgRoller.Services;

public static class CustomRollOptionsResolver
{
    public static (int WildDice, bool AllowFumble, int? FumbleRange) Resolve(RulesetKind ruleset)
    {
        return ruleset switch
        {
            RulesetKind.D6 => (DefaultCustomD6WildDice, DefaultCustomD6AllowFumble, null),
            _              => (0, false, null)
        };
    }

    private const int DefaultCustomD6WildDice = 1;
    private const bool DefaultCustomD6AllowFumble = true;
}