Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

[Feature request] Floor and ceiling for rolls #281

@SherbertLemon64

Description

@SherbertLemon64

I have an ability which means if I roll less than 10 it is a 10 (apart from a nat 1). If there could be ternary operators or a floor function that would be nice.

e.g.

/r fl10d20

fl10d20 = (3=10) = 10

or with a ternary operator but that would be significantly more difficult:

/r x=d20 > 10 ? 10 : x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions