Commit Graph
41 Commits
Author SHA1 Message Date
AncTe f5e432d04f docs(10-08): 引导式重写 enemy-aura/query/final
- enemy-aura:先讲「光环影响周围」,再引出优先级与 apply/applySpecial
- enemy-query:从「需要看周围」引入查询,保留未内置警示与三示例
- enemy-final:从「最后收尾」引入最终效果,保留三方对比与仿攻示例
2026-10-17 21:05:12 +08:00
AncTe b1b7c8e0e7 docs(10-08): 重写 combat-overview、enemy-specials(引导式)
- combat-overview 用平实语言解释计算后怪物、为何重建、为何分四步
- enemy-specials 改为引导式开篇,保留两类定义、实现位置表与编辑器约定
2026-10-17 21:05:06 +08:00
AncTe 27050e91a5 docs(10-07): 纠正修饰器定位
- 标题「修饰器:临时的加减与百分比」改为「修饰器:数值与百分比加成」
- 改写表述:修饰器临时/永久皆可,是否临时取决于何时移除
- 新增临时用法说明(addModifier 挂上、不再需要时 deleteModifier 移除);保留永久示例与 save 语义
2026-10-17 20:57:09 +08:00
AncTe 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
AncTe 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
AncTe 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
AncTe 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
AncTe 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
AncTe 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
AncTe 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
AncTe 0d14d32a48 docs(10-03): write hero-equipment, hero-location, map-structure
- 勇士装备:装备槽与实例仓库、装备加成即修饰器、compareEquip
- 勇士位置:坐标、朝向与楼层的获取
- 地图结构:楼层集合、楼层激活、楼层与图层(含事件层)
2026-10-17 18:01:19 +08:00
AncTe 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
AncTe 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
AncTe 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
AncTe 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
AncTe 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
AncTe 1717400945 refactor: 触发器 2026-07-27 18:04:05 +08:00
AncTe f6383e41e8 feat: 录像数组 2026-07-13 23:19:17 +08:00
AncTe 376b0fcac5 feat: 装备系统 2026-07-10 15:30:20 +08:00
AncTe 3ac14f8757 feat: 勇士身上的道具 2026-07-03 20:05:31 +08:00
AncTe 9b3c3a4e40 feat: 道具效果存储 2026-07-01 23:45:06 +08:00
AncTe 6029d038c6 feat: IITemStore 2026-07-01 22:19:48 +08:00
AncTe 327bdc840b docs: 更新提示词 2026-06-29 23:08:31 +08:00
AncTe 0508dfb9e4 feat: 地形通行性判断 2026-06-28 22:42:27 +08:00
AncTe fadcc98864 refactor: 跟随者与勇士移动 2026-06-27 20:33:49 +08:00
AncTe 9f62d8768e feat: 战斗流程 2026-06-14 00:31:10 +08:00
AncTe d6275c0ea7 docs: 战斗流程 2026-06-01 16:21:34 +08:00
AncTe 13e8547a37 refactor: 触发器类型问题 2026-05-17 23:27:29 +08:00
AncTe bf781c5ee8 feat: 静态触发器存储 2026-05-17 20:49:08 +08:00
AncTe 13fc4e1b7c refactor: TileStore 2026-05-17 16:31:08 +08:00
AncTe 501a598de0 feat: 触发器系统 2026-05-16 23:43:14 +08:00
AncTe 0da19e1697 refactor: 战斗系统文件结构 2026-05-12 17:11:33 +08:00
AncTe 8ea0c12024 refactor: 新增朝向系统 2026-05-12 15:20:50 +08:00
AncTe fbdd609001 feat: 动态图层 2026-05-11 23:35:46 +08:00
AncTe 4c48b63e7e refactor: 地图分区与尺寸优化 2026-05-06 19:57:11 +08:00
AncTeandCopilot 70a58ef4dc refactor: 地图存储
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 13:33:49 +08:00
AncTeandCopilot 2ce50bf23e refactor: 怪物管理器存档
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 22:17:01 +08:00
AncTeandCopilot 8c1becc9f1 refactor: 存档系统 & 勇士属性存档
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 17:29:13 +08:00
AncTe 5550fac160 fix: 文档监听与 vitepress 竞态问题 2026-03-08 18:28:48 +08:00
AncTe bea2725d6a feat: 将 HumanBreak 新内容移植入该样板 2026-02-28 22:56:59 +08:00
AncTe 6bf32174d8 init: 2.B 2026-02-28 20:23:34 +08:00