diff options
| author | 2025-09-12 18:19:16 +0800 | |
|---|---|---|
| committer | 2025-09-12 18:19:16 +0800 | |
| commit | 2778db81c6973078dc0e8e04c4bb711143aef84d (patch) | |
| tree | a262ee069fe4155c1bf315ed549161d3ee4ee1f8 /src/types.rs | |
| parent | 899ca820e34b1b62190e88da71cf734295974a19 (diff) | |
| download | OneRoll-2778db81c6973078dc0e8e04c4bb711143aef84d.tar.gz OneRoll-2778db81c6973078dc0e8e04c4bb711143aef84d.zip | |
feat: add new reroll modifiers for enhanced dice functionality
Diffstat (limited to 'src/types.rs')
| -rw-r--r-- | src/types.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.rs b/src/types.rs index aad0080..1d5d369 100644 --- a/src/types.rs +++ b/src/types.rs @@ -24,6 +24,8 @@ pub enum DiceModifier { ExplodeKeepHigh(i32), // KX == explode then keep high X Reroll(i32), // rX RerollOnce(i32), // roX + RerollUntil(i32), // RX (until > X; with cap) + RerollAndAdd(i32), // aX (reroll if <= X and add) KeepAlias(i32), // kX == khX KeepHigh(i32), // khX KeepLow(i32), // klX |
