diff options
| author | 2023-12-11 00:21:20 +0800 | |
|---|---|---|
| committer | 2023-12-11 00:21:20 +0800 | |
| commit | 81cd8ab9d26d0560efd8238620a0c0152eb5b6b8 (patch) | |
| tree | 7172b8306e51f73c5cbaab2ac9e20728a827170d /src/hydrorollcore/rule.py | |
| parent | 0dd371d4f6ef45379e2934fd7106eff3f38eef5e (diff) | |
| download | infini-81cd8ab9d26d0560efd8238620a0c0152eb5b6b8.tar.gz infini-81cd8ab9d26d0560efd8238620a0c0152eb5b6b8.zip | |
:recycle: 重构log.py
Diffstat (limited to 'src/hydrorollcore/rule.py')
| -rw-r--r-- | src/hydrorollcore/rule.py | 2 |
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 |
