From 2778db81c6973078dc0e8e04c4bb711143aef84d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 12 Sep 2025 18:19:16 +0800 Subject: feat: add new reroll modifiers for enhanced dice functionality --- src/types.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/types.rs') 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 -- cgit v1.2.3-70-g09d2