aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/MyRule/Rule/ThePool.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-10-17 14:55:30 +0800
committer简律纯 <i@jyunko.cn>2023-10-17 14:55:30 +0800
commitf7e8f6f166114b9ab9e05852f5cb80d3d36eab2f (patch)
treec72f096792ff7343f9744d20ae9c5afd2d340884 /tests/MyRule/Rule/ThePool.py
parent7967a1317b54a17d8039ad7e25a03681bf6aacb2 (diff)
downloadinfini-f7e8f6f166114b9ab9e05852f5cb80d3d36eab2f.tar.gz
infini-f7e8f6f166114b9ab9e05852f5cb80d3d36eab2f.zip
feat(status): add deprecated and new status
Diffstat (limited to 'tests/MyRule/Rule/ThePool.py')
-rw-r--r--tests/MyRule/Rule/ThePool.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/MyRule/Rule/ThePool.py b/tests/MyRule/Rule/ThePool.py
new file mode 100644
index 00000000..c3c01317
--- /dev/null
+++ b/tests/MyRule/Rule/ThePool.py
@@ -0,0 +1,29 @@
+from HydroRollCore import Rule
+from .wiki import Wiki
+
+
+class Config:
+ __config_name__ = "ThePool"
+
+
+class ThePool(Rule):
+ config: Config
+ wiki: Wiki
+
+ class DefaultDice:
+ _sides = 6
+ _counts = 1
+ _init_dice_pool = 15
+
+ class Bonus:
+ """奖励骰
+
+ 要分配奖励,你需要花费起始骰池中的骰子。消耗的数量等于奖励骰的数量乘以它自身。
+ """
+
+ class PlayerCard:
+ """角色卡"""
+
+ def Trait(self):
+ """特质标准判断"""
+ return self.__str__() if self.__str__() != "" else None