From f7e8f6f166114b9ab9e05852f5cb80d3d36eab2f Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Tue, 17 Oct 2023 14:55:30 +0800 Subject: feat(status): add deprecated and new status --- tests/MyRule/Rule/ThePool.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/MyRule/Rule/ThePool.py (limited to 'tests/MyRule/Rule/ThePool.py') 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 -- cgit v1.2.3-70-g09d2