diced
Types
pub type Dice {
Basic(amount: Int, value: Int, modifiers: List(Modifier))
Fate(amount: Int, modifiers: List(Modifier))
Number(value: Int, modifiers: List(Modifier))
}
Constructors
-
Basic(amount: Int, value: Int, modifiers: List(Modifier)) -
Fate(amount: Int, modifiers: List(Modifier)) -
Number(value: Int, modifiers: List(Modifier))
pub type Modifier {
KeepHighest(Int)
KeepLowest(Int)
DropHighest(Int)
DropLowest(Int)
Reroll(Int)
RecursiveReroll(Int)
Explode(Int)
Minimum(Int)
Maximum(Int)
}
Constructors
-
KeepHighest(Int) -
KeepLowest(Int) -
DropHighest(Int) -
DropLowest(Int) -
Reroll(Int) -
RecursiveReroll(Int) -
Explode(Int) -
Minimum(Int) -
Maximum(Int)