aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/hydrorollcore/rule.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrorollcore/rule.py')
-rw-r--r--src/hydrorollcore/rule.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hydrorollcore/rule.py b/src/hydrorollcore/rule.py
index 127ed805..a1f04151 100644
--- a/src/hydrorollcore/rule.py
+++ b/src/hydrorollcore/rule.py
@@ -1,6 +1,7 @@
from abc import ABCMeta, abstractmethod
from enum import Enum
from .exceptions import HydroError
+from .typing import Dict
__all__ = ["RuleLoadType", "Result", "Dice", "Rule"]
@@ -62,6 +63,7 @@ class Rule(metaclass=ABCMeta):
"""规则基类"""
name: str
+ dices: Dict[str, str] = {}
priority: int = 0
@abstractmethod