aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/MyRule/Rule/ThePool.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-12-15 18:40:31 +0800
committer简律纯 <i@jyunko.cn>2023-12-15 18:40:31 +0800
commit02b019a663aff80cd9e51ec91dccab81a15a14d8 (patch)
treef815694823f993971fe2a609825e8354af3ac94a /tests/MyRule/Rule/ThePool.py
parent57e09bc268cde8f73d1fc828f0ae80e16c9337d4 (diff)
downloadinfini-02b019a663aff80cd9e51ec91dccab81a15a14d8.tar.gz
infini-02b019a663aff80cd9e51ec91dccab81a15a14d8.zip
chore(tests): test generate `RulePackage`
Diffstat (limited to 'tests/MyRule/Rule/ThePool.py')
-rw-r--r--tests/MyRule/Rule/ThePool.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/MyRule/Rule/ThePool.py b/tests/MyRule/Rule/ThePool.py
deleted file mode 100644
index fb1d2500..00000000
--- a/tests/MyRule/Rule/ThePool.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from infini 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