Commit Graph
39 Commits
Author SHA1 Message Date
AncTe 436386ea67 test(06-11): cover multi-slot equipment merge and createMap content generation
- equipment.test.ts: G-06-05-A asserts combined atk/def for weapon+armor and keeps the other slot's modifier after unequip
- mapState.test.ts: G-06-06-B writes/reads block, point event, event layer binding and dirty flag on a createMap floor
2026-09-15 10:23:16 +08:00
AncTe c08f3f8484 fix(replay): enable recording guard; update tests for replay refactor 2026-09-14 20:14:01 +08:00
AncTe 17d7c8f46a refactor: refactor replay system record. 2026-09-14 19:55:20 +08:00
AncTe 2ff422a682 test(06): restore suite green after replaySystem wiring change 2026-09-14 19:16:32 +08:00
AncTe 3e29548bfa test(06-09): cover enemy and hero save/load round trips
- add enemy/saveLoad.test.ts: Enemy/special/EnemyManager same-instance round trips across 3 compressions, codes 119/120
- add hero/saveLoad.test.ts: modifier/location/rendering/equipment/equipStore/items/follower/state round trips, codes 58/59
- add 06-SAVE-EXCLUSIONS.md: per-class excluded fields and rationale (D-42)
2026-09-14 18:57:42 +08:00
AncTe cee843981f feat: 录像记录 & CoreState 存储接口 2026-09-14 18:09:45 +08:00
AncTe 351111487a test(06-05): cover HeroMover async movement and HeroRendering (stage 3)
- add mover.test.ts: config round-trip, Step/CannotMove/Hit, out-of-bound, terrain bypass, enter/leave order, code 144
- add rendering.test.ts: default alpha, setAlpha hook, hook unload
2026-09-14 15:55:08 +08:00
AncTe 6d5081abcb test(06-05): cover hero assembly and item/equipment pipeline (stage 2)
- add location/state tests: locator, floor/pos hooks, subsystem assembly, code 116, changeFloor hook order
- add equipment/equipStore/items tests: equip/unequip/replace, compareEquip, instance sorting, item routing, code 146
- add follower tests: add/remove hooks, neighbour links, sync/async gather, code 142
- record suspected bugs #06-05-2/#06-05-3 (named-slot empty check, unreachable code 147) as it.skip
2026-09-14 15:52:32 +08:00
AncTe c1781b8102 test(06-05): cover HeroAttribute and hero modifier formulas (stage 1)
- add attribute.test.ts: base/final, priority sort, delete, save flag, clone, codes 108/109
- add modifier.test.ts: value/percentage formulas, default priorities, setValue recompute
- record suspected bug #06-05-1 (no-modifier final value stale) as it.skip
2026-09-14 15:43:59 +08:00
AncTe a66be585d1 feat(event): rework built-ins and centralize trigger collection
- rename deleteBlock -> removeBlock (dynamic tiles need dynamic:true),
  moveHeroStep -> stepHero; touchFront steps forward and lets the mover bump
- GameEventSystem.collectEvent owns point/tile source collection; moverImpl
  enter/leave/hit reuse it with OnEnter/OnLeave/OnTouch
- IBlockEventEnv gains required system field and nullable heroFloor
- MapLayer.removeBlock added and setBlock guarded by inMap; GameMap owns floorId
- IObjectMover.push accepts readonly steps
- update event/eventDispatch tests to the current implementation (fixtures
  supply system, hero location snapshots, renamed registrations)

Verified: data type gate 0 in-scope; vitest 19 files / 112 tests pass; prettier
and eslint clean on touched files.
2026-09-13 20:37:32 +08:00
AncTe 2794dfc32d style(03-05): normalize scoped data gate formatting 2026-09-10 17:53:33 +08:00
AncTe 64b97bc515 fix(03-05): close data package type and cycle boundaries 2026-09-10 17:40:29 +08:00
AncTe a707be4856 feat(03-01): add Node-safe core state construction
- isolate legacy loading behind internal dependencies
- provide memory saves and remove singleton back-edges
2026-09-10 15:35:01 +08:00
AncTe 2759df531e feat(02-03): wire hero pathfinding movement
- Bind the hero predicate and event layer into the L2 finder
- Execute translated paths through the hero mover and export the L3 entry
2026-09-09 21:13:30 +08:00
AncTe 68a150882c refactor(02-03): extract hero pass predicate
- Move passability and hit checks behind IPassPredicate
- Keep hero mover event dispatch and move codes unchanged
2026-09-09 21:06:07 +08:00
AncTe 7a011b29c2 feat: 完成寻路系统接口设计 2026-09-09 16:40:56 +08:00
AncTe 7eeab32134 refactor: 游戏地图接口重构 2026-08-21 01:39:47 +08:00
AncTe 1717400945 refactor: 触发器 2026-07-27 18:04:05 +08:00
AncTe f4c77d152f feat: 楼层切换 2026-07-26 20:22:36 +08:00
AncTe 8677271b69 style: LF -> CRLF 2026-07-13 23:22:31 +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 3d72954bb2 refactor: 移动顶层实施对象 2026-06-29 23:58:52 +08:00
AncTe 327bdc840b docs: 更新提示词 2026-06-29 23:08:31 +08:00
AncTe 1ce0283743 feat: 勇士默认撞击行为 2026-06-29 21:44:22 +08:00
AncTe c4bcecdf8a feat: 勇士撞击行为 2026-06-29 19:57:46 +08:00
AncTe 0508dfb9e4 feat: 地形通行性判断 2026-06-28 22:42:27 +08:00
AncTe 3e150c4a1d refactor: 合并 follower 和 followersController 2026-06-28 16:39:42 +08:00
AncTe 13e778d072 fix: Mover 可以直接设置位置和朝向 2026-06-28 16:00:59 +08:00
AncTe abaa5206c5 chore: 调整勇士相关接口 2026-06-28 15:35:30 +08:00
AncTe fadcc98864 refactor: 跟随者与勇士移动 2026-06-27 20:33:49 +08:00
AncTe 02bf39a62d chore: 调整勇士属性接口 2026-06-19 01:21:03 +08:00
AncTe c48f91c25c refactor: 修改 mover 名称 2026-05-29 14:07:21 +08:00
AncTe 8f4c4b7df2 refactor: 将 Layer 0 单独放到一个包 2026-05-17 21:32:23 +08:00
AncTeandCopilot 8c1becc9f1 refactor: 存档系统 & 勇士属性存档
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 17:29:13 +08:00
AncTe ebfe59b4f5 chore: 注释调整与接口微调 2026-04-18 16:22:58 +08:00
AncTe eaa725553b refactor: 怪物系统与勇士属性系统联动 2026-04-17 15:34:44 +08:00
AncTe 92ff489811 refactor: 勇士状态
CodeQL / Analyze (javascript) (push) Has been cancelled
2026-04-16 22:31:39 +08:00
AncTe c22a51829d refactor: IHeroState 2026-04-16 17:15:04 +08:00