mirror of
https://github.com/motajs/template.git
synced 2026-11-02 15:04:30 +08:00
docs(10-11): 迭代修正读者阻断问题(第1轮)
- 修正 B-01..B-13 共 13 条阻断性理解问题(详见 10-11-READER-REVIEW.md 第 1 轮记录) - src-tour 新增「包从哪来」概念,并在用到包名 import 的篇目交叉引用 - 结构门禁 STRUCT-OK;构建 green、dead link = 0
This commit is contained in:
1 parent
b09da5b129
commit
927611182b
18 files changed
+166
-18
No files matched your search
@@ -52,7 +52,7 @@ state.combat.addCombatScript(new MainCombatScript());
|
||||
|
||||
## 战前示例:拥有某特殊属性时无法战斗
|
||||
|
||||
下面的脚本检查怪物是否拥有 code 18 的特殊属性(无敌),有则直接放弃战斗:
|
||||
下面的脚本检查怪物是否拥有 code 18 的特殊属性(无敌),有则直接放弃战斗(示例里的 `@motajs/*`、`@user/*` 是包名,含义见 [src 导览](./src-tour.md) 的「包从哪来」):
|
||||
|
||||
```ts
|
||||
import { IEnemyAttr, IHeroAttr } from '@user/data-common';
|
||||
|
||||
Reference in new issue
Block a user