Commit Graph

1015 Commits

Author SHA1 Message Date
3836afe5d9 docs(10-10): 引导式重写 hero-location、map-structure 2026-10-17 21:23:14 +08:00
b4d1202a74 docs(10-10): 引导式重写 hero-items、hero-equipment 2026-10-17 21:22:33 +08:00
ef8cd06c07 docs(10-09): complete 概念组与其他组引导式重写 plan 2026-10-17 21:19:33 +08:00
1deb860359 docs(10-09): 引导式重写 replay-commands、data-plugins
- replay-commands 以「重放要先记全」引导核心原则,保留主动/被动与装饰器,不给示例
- data-plugins 以「一组功能打包按时初始化」引导,保留时机次序与占位示例(N-4)
2026-10-17 21:17:12 +08:00
d882668ba0 docs(10-09): 引导式重写 hooks、events
- hooks 以「某个动作发生时想插一手」引导,保留需求→钩子对照表与 addHook/removeHook
- events 以「内建动作 + 也能自己加」引导,保留 BuiltInFunction、env、注册与两示例
2026-10-17 21:16:33 +08:00
ea8e6f20c8 docs(10-09): 引导式重写 src-tour、code-basics
- src-tour 以「该改哪个文件」引导,保留该不该改表、constant.ts,不含已弃用项
- code-basics 保持三段式与引导口吻,泛型比作类型的函数,保留 D-23 唯一外链
2026-10-17 21:15:46 +08:00
5ed2df4d29 docs(10-08): complete 战斗组引导式重写 plan 2026-10-17 21:06:49 +08:00
de5e9e1229 docs(10-08): 引导式重写 calculator/script/status-hooks
- enemy-calculator:从「属性换算成伤害」引入,保留公式导读与临界约定
- enemy-combat-script:从「战斗前后的规则」引入,保留脚本/钩子选型表
- enemy-status-hooks:从「状态要反复生效」引入,强调多钩子协同
2026-10-17 21:05:18 +08:00
f5e432d04f docs(10-08): 引导式重写 enemy-aura/query/final
- enemy-aura:先讲「光环影响周围」,再引出优先级与 apply/applySpecial
- enemy-query:从「需要看周围」引入查询,保留未内置警示与三示例
- enemy-final:从「最后收尾」引入最终效果,保留三方对比与仿攻示例
2026-10-17 21:05:12 +08:00
b1b7c8e0e7 docs(10-08): 重写 combat-overview、enemy-specials(引导式)
- combat-overview 用平实语言解释计算后怪物、为何重建、为何分四步
- enemy-specials 改为引导式开篇,保留两类定义、实现位置表与编辑器约定
2026-10-17 21:05:06 +08:00
a24457cfef docs(10-07): complete 修正 D-09 复审第 1/3/4 条 plan
- 讲清 state 三类获取方式;清除 2 处 legacy 泄漏(全 24 篇扫描)
- 纠正 hero-attribute 修饰器定位为临时/永久皆可;构建转绿
2026-10-17 20:58:48 +08:00
27050e91a5 docs(10-07): 纠正修饰器定位
- 标题「修饰器:临时的加减与百分比」改为「修饰器:数值与百分比加成」
- 改写表述:修饰器临时/永久皆可,是否临时取决于何时移除
- 新增临时用法说明(addModifier 挂上、不再需要时 deleteModifier 移除);保留永久示例与 save 语义
2026-10-17 20:57:09 +08:00
488c108b4c docs(10-07): 清除 legacy 泄漏
- data-vs-render 移除含 legacy 全局包裹接口 Mota.r 的 :::info,改为平实说明
- enemy-map-damage 去除旧主对象全局前缀 core.flags,保留 flag 名 betweenAttackMax
- 全 24 篇 legacy 扫描:除上述两处外无其它 legacy 命中(ICoreState/core.jsonc 不计入)
2026-10-17 20:57:02 +08:00
b30140ddcb docs(10-07): 讲清 state 获取方式
- data-state-overview 用平实语言解释主对象 state(总目录比喻)
- 新增「state 从哪来」小节:框架参数传入(useEffect/插件/env.state)、handler.state、this.state
- 说明示例假设 state 已在作用域中;保留对象表与 L0-L3 分组
2026-10-17 20:56:52 +08:00
49ecbfb89e docs(10): add D-09 review revision plans (10-07..10-12) 2026-10-17 20:25:05 +08:00
36d38907ff docs(10-05): complete events, replay-commands, data-plugins plan 2026-10-17 19:00:50 +08:00
2266c15595 docs(10-05): write events, replay-commands, and data-plugins docs
- events: BuiltInFunction, IBlockEventEnv, createEventRegistrations, setFlag/healHero examples
- replay-commands: core principle, Active/Passive, @shouldReplay/@ignoreReplay (no example)
- data-plugins: IDataPluginDefine lifecycle, dataPlugins registration, placeholder example
2026-10-17 18:59:50 +08:00
7a7cda24b2 docs(10-04): complete battle docs plan 2026-10-17 18:47:46 +08:00
0868650847 docs(10-04): write map damage, combat script, and status hook docs
- document map damage views, converters, reducers, and code mapping caveat
- add combat script selection table and before/after examples
- explain multi-hook status handling and calculator integration
2026-10-17 18:45:48 +08:00
e13ebf71ed docs(10-04): write query, final, and calculator docs
- document query effects as new, not built into the engine
- add final effect comparison and attack-copy example
- explain damage formula, critical conventions, and arithmetic example
2026-10-17 18:44:16 +08:00
5528edc70d docs(10-04): write combat overview, specials, and aura docs
- add combat flow overview with mermaid and doc map
- document special attribute definitions and implementation locations
- document aura priority, built-in auras, and custom examples
2026-10-17 18:43:06 +08:00
678addf2a4 docs(10-03): complete basic-interfaces docs plan
- 8 篇基础接口教程落位;构建通过、无 dead link
- SUMMARY 记录实测 commits=3、plan_head_before
2026-10-17 18:05:03 +08:00
a3f55112b7 docs(10-03): write map-tiles and flags
- 地图图块:getBlock/setBlock/removeBlock/putMapData/getMapData/iterateBlocks
- Flag 变量:全部接口(含 occupied/getOrInsertComputed)与使用建议
2026-10-17 18:02:07 +08:00
0d14d32a48 docs(10-03): write hero-equipment, hero-location, map-structure
- 勇士装备:装备槽与实例仓库、装备加成即修饰器、compareEquip
- 勇士位置:坐标、朝向与楼层的获取
- 地图结构:楼层集合、楼层激活、楼层与图层(含事件层)
2026-10-17 18:01:19 +08:00
627a40bc4b docs(10-03): write data-state-overview, hero-attribute, hero-items
- 数据端总览:state 入口、常用对象表与 L0-L3 分层标注
- 勇士属性:基础/最终属性、修饰器、save 语义、只读与试算
- 勇士道具:四种类别区分与 addItem/useItem/iterateItems 等接口
2026-10-17 18:00:04 +08:00
0348c30893 docs(10-02): complete concept-and-navigation docs plan
- 10-02-SUMMARY.md: 4 concept docs (data-vs-render/src-tour/code-basics/hooks)
  with measurements, decisions, and coverage block
2026-10-17 17:51:55 +08:00
c47aa5269b docs(10-02): write code-basics and hooks concept docs
- code-basics: concise syntax, modules/imports, types intro (generics as
  'functions of types'), interface/implements convention, approved external link
- hooks: what hooks are, common hook families, need-to-hook table, addHook/
  removeHook usage, async hooks
2026-10-17 17:49:49 +08:00
2ea8cb33f5 docs(10-02): write data-vs-render and src-tour concept docs
- data-vs-render: dual-end split (compute vs draw), src/data vs src/client,
  mermaid diagram, replay verification runs data side only
- src-tour: tour src/data, src/client, src/content, src/constant.ts plus a
  should-you-edit table
2026-10-17 17:48:28 +08:00
ebc61e620a docs(10-01): complete clear-legacy-docs + register-intermediate plan 2026-10-17 17:40:33 +08:00
ca3a61fb81 docs(10-01): register intermediate tutorial nav entry and sidebar
- add nav entry 中级教程 -> /intermediate/data-vs-render
- add sidebar['/intermediate/'] with 4 groups / 24 links (4/8/9/3)
2026-10-17 17:39:03 +08:00
e3d61ee14f docs(10-01): clear legacy docs and decouple API sidebar from build
- delete docs/index.md and docs/guide, dev, logger, api trees
- drop old nav entries and guide/logger/api sidebar keys from config.ts
- remove apiSidebar import and listenSidebar() plugin; drop unused Plugin import
- guard generateSidebar() with existsSync when docs/api is absent
2026-10-17 17:37:43 +08:00
1099583b07 docs(10): rewrite 10-01 to clear legacy docs + register intermediate; refresh 10-06/10-CONTEXT/ROADMAP 2026-10-17 16:36:11 +08:00
6a42bf42d4 docs(10): create phase plan (intermediate tutorial 24 docs + site registration) 2026-10-16 21:06:26 +08:00
7af881d655 docs: 删除已完成 TODO 注释 2026-10-16 20:45:21 +08:00
3f74d5f25e feat: 完善内置特殊属性 2026-10-16 20:30:04 +08:00
a0e402728e refactor: 数据端用户结构 2026-10-16 17:29:51 +08:00
0a133058ca refactor: 渲染端初始化移动至主插件 2026-10-16 00:41:58 +08:00
7fde97ff1e feat: list 文件的配置类型定义 2026-10-15 14:59:48 +08:00
d1ebca0b16 chore: 调整加载接口 2026-10-14 20:41:14 +08:00
2f3d3387a0 refactor: 插件系统 & 数据端顶层移植 2026-10-14 20:32:46 +08:00
b0229c627f docs(09): tighten 09-20 logger.json gates to error section (76/77/78 present + exact 75 preserved) 2026-10-14 19:08:20 +08:00
618dbb7654 docs(09): revise phase plan 09-20 (plugin system) for revision 3 (D-92 error codes 76/77/78, no-overwrite, exclude from load flow) 2026-10-14 18:56:33 +08:00
8739141aff docs(09): revise phase plan 09-20 (plugin system) for revision 2 2026-10-14 18:32:44 +08:00
1727230932 docs(09-20): plan task 10 data-side plugin driver + render-side plugin system mirror 2026-10-14 18:21:11 +08:00
8509d91216 docs: 阶段十文档更新 2026-10-14 15:37:44 +08:00
14afc7c2f2 feat(09-19): migrate basic old-engine data to src/content (tile/enemy/item/maps/textures) + ledger 48px correction 2026-10-14 13:08:42 +08:00
22372480f0 docs(09-19): revise plan (rev7) - correct ledger §8.3 U-1 (42->43, D-84 supersede); tighten LEDGER GATE to reject both 42-forms and require 43 in §2.4/§9/U-1 2026-10-14 12:30:47 +08:00
14d0dadf39 docs(09-19): revise plan (rev6) - fix 48px frame/cell facts (4-frame, 32x48) + add ledger-correction task 2026-10-14 12:15:01 +08:00
1e451bb2bc docs(09-19): revise plan (rev5) - OI-3 decided D-85 npc by-size grouping (npc0..6=7, SPLIT-COUNT 43) 2026-10-14 11:14:03 +08:00
e3afd75898 docs(09-19): revise texture layout per D-84 (columns fixed, rows <=4 cropped) 2026-10-14 10:49:51 +08:00