diff --git a/modules/dice/dice.py b/modules/dice/dice.py index e4141f625b..2a7282fd5b 100644 --- a/modules/dice/dice.py +++ b/modules/dice/dice.py @@ -73,7 +73,7 @@ def __init__(self, msg, dice_code: str): if self.type <= 0: raise DiceValueError(msg, msg.locale.t("dice.message.error.value.n.less_2"), - self.count) + self.type) if self.type == 1: raise DiceValueError(msg, msg.locale.t("dice.message.error.value.n.d1")) if abs(self.adv) > self.count: