Skip to content

Support "clamping totals" #8

@saif-ellafi

Description

@saif-ellafi

Hello Steve,

Hope you are doing well. Some players are asking whether it would be possible to clamp a dice roll result by its total. This is needed by certain systems where a dice roll can have bonuses but have also a limit, for example rolling 2d6+2 but the maximum is 10.

I could only find out Clamping by die 2d6 C>3 but this will clamp on a die basis.

Would it be possible to have a total result clamping function? my instinct went for (2d6+2) C>10 but this did not work.

Thank you so much as always for this library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions