aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/Standard/Term/ability.md (renamed from docs/docs/Standard/Term/appriasal.md)2
-rw-r--r--docs/docs/Standard/what-is-rule-package.md6
-rw-r--r--docs/mkdocs.yml2
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/docs/Standard/Term/appriasal.md b/docs/docs/Standard/Term/ability.md
index 3dba1727..a1e86aa1 100644
--- a/docs/docs/Standard/Term/appriasal.md
+++ b/docs/docs/Standard/Term/ability.md
@@ -1,5 +1,5 @@
---
-title: 鉴定(/检定)
+title: ability/check 检定
---
这是一个可选实现但是建议实现的方法。 \ No newline at end of file
diff --git a/docs/docs/Standard/what-is-rule-package.md b/docs/docs/Standard/what-is-rule-package.md
index 009ec951..b7788db5 100644
--- a/docs/docs/Standard/what-is-rule-package.md
+++ b/docs/docs/Standard/what-is-rule-package.md
@@ -20,15 +20,15 @@ class MyRule(Rule):
name = "我的自定义规则包"
priority = 0 # 优先级
- def appriasal(self):
+ def ability(self):
"""鉴定方法
self.result 是需要鉴定时计算的结果,可以直接使用
- self.appriasal 是Rule类里提供的用于判断鉴定情况的属性
+ self.rule.ability 是Rule类里提供的用于判断鉴定情况的属性
"""
if self.result < 5 and self.result > 0:
- return self.appriasal.success # 返回大成功时骰主自定义的大成功文本
+ return self.rule.ability.success # 返回大成功时骰主自定义的大成功文本
else:
... # 其他的鉴定情况
```
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index f3223ac2..a4f8bbd0 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -167,7 +167,7 @@ nav:
- 为什么要做规则包?: Standard/why-rule-package.md
- 什么是通用规则包标准?: Standard/what-is-standard.md
- 术语表(草案):
- - 鉴定: Standard/Term/appriasal.md
+ - 检定: Standard/Term/ability.md
- ...: #
- API Reference:
- "API Reference": API/index.md \ No newline at end of file