Commit Graph

82 Commits

Author SHA1 Message Date
95df6a0198 fix(03-08): guard registered event parameters
- Return safely before parsing nullish or non-object runtime parameters\n- Cover the real eventSetBlock registration with a null regression
2026-09-10 18:47:26 +08:00
232df083f7 fix(03-05): complete data closure coverage and Node combat gate 2026-09-10 17:52:28 +08:00
704e23fa2d fix(03-04): share verifier harness with Node replay tests
- Keep Vitest imports inside the data-state test package
- Leave the dedicated script as the direct Node process entry
2026-09-10 17:17:40 +08:00
1218504b5c test(03-04): cover Node replay divergence and factory isolation
- Exercise success, false, throw, unknown, hero, and map mismatch paths
- Verify isolated Node CoreState instances and diagnostic parameter fidelity
- Repair replay route parameter encoding required by verifier diagnostics
2026-09-10 17:11:09 +08:00
c06093839a feat(03-04): add fixed Node replay verifier
- Extend the closed-loop fixture across hero and all map matrices
- Throw deterministic local diagnostics at the first replay divergence
- Add the dedicated test:data-node process gate
2026-09-10 17:05:15 +08:00
09481451d4 feat(03-03): assemble CoreState replay registry
- Bind the L2 pathfinder to each fresh hero state
- Give each CoreState an independent ReplaySystem
- Assert all eight stable commands are assembled at the top level
2026-09-10 16:44:46 +08:00
e7714894a0 feat(03-03): add async-safe replay commands
- Preserve replay collection context through async decorator settlement
- Add stable command items with awaited movement and pathfinding
- Return explicit failures for invalid item and equipment actions
2026-09-10 16:43:30 +08:00
3134537d30 feat(03-02): implement approved event built-ins
- Add map, hero, touch, and temporary event controls
- Register exactly eight built-ins through top-level event assembly
- Cover awaited behavior and safe failure with explicit fixtures
2026-09-10 16:25:02 +08:00
f911ac5989 style(03-06): normalize tile migration formatting
- Apply repository CRLF and Prettier formatting
- Record remaining out-of-scope type diagnostics
2026-09-10 15:57:59 +08:00
a12b2d2db8 feat(03-06): migrate legacy tiles to events maps
- Convert optional legacy events with safe empty defaults
- Cover TileStore consumption without trigger scalar output
2026-09-10 15:55:32 +08:00
4eec08638e feat(03-01): add awaited replay movement tracer
- exercise source-aware event mutation on a fixed map
- verify Node replay reaches its normal end state
2026-09-10 15:43:26 +08:00
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
7f19773477 chore(03): checkpoint data layer structure 2026-09-10 13:30:53 +08:00
26f7ad6b2e refactor(02-06): align pathfinding structure with user scope 2026-09-10 11:21:53 +08:00
93453db417 fix(02-04): guard nullable static event sources
- Preserve dynamic event collection while narrowing static tile access
- Record the moverImpl type diagnostic as resolved
2026-09-10 09:38:02 +08:00
7a3b6e35c1 fix(02-03): support pathfinding interruption handoff
- Queue new movement until the stopped controller settles
- Register pathfinding controller diagnostics and regression coverage
2026-09-09 21:22:49 +08:00
6cde84ec31 feat(02-03): add teleport fallback and touch handling
- Detect event-bearing paths and fall back to step movement
- Handle adjacent no-pass targets with OnTouch dispatch and facing
2026-09-09 21:18:01 +08:00
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
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
1d9b180d5f docs(test): describe individual test cases 2026-09-09 13:33:42 +08:00
4349e67669 docs(test): require test scope comments 2026-09-09 13:12:10 +08:00
a297311ea6 feat(event): complete phase one event system 2026-09-09 12:01:21 +08:00
5f855d0ccc fix(01-11): wire legacy maps to event layers
- assign each legacy event alias layer to GameMap.eventLayer\n- add regression coverage for map-layer ownership and initialization state
2026-09-09 10:58:20 +08:00
22056140bd fix(01-07): dispatch events with source-aware trigger matching
- Carry each event id with its real point or tile environment.
- Filter mismatched triggers before execution and include every dynamic tile in priority order.
2026-09-09 00:18:00 +08:00
7eeab32134 refactor: 游戏地图接口重构 2026-08-21 01:39:47 +08:00
1717400945 refactor: 触发器 2026-07-27 18:04:05 +08:00
f4c77d152f feat: 楼层切换 2026-07-26 20:22:36 +08:00
4bf39062a8 feat: MapStore 2026-07-17 22:42:16 +08:00
3ac14f8757 feat: 勇士身上的道具 2026-07-03 20:05:31 +08:00
74370bba3a feat: 装备道具属性 2026-07-02 19:41:13 +08:00
2d6f709201 chore: 调整存档系统初始化位置 2026-07-01 23:49:22 +08:00
9b3c3a4e40 feat: 道具效果存储 2026-07-01 23:45:06 +08:00
e72ad36e8d refactor: 存档系统迁移至 L0 2026-07-01 20:53:29 +08:00
94a16b31ba chore: 调整 DefaultHeroMoveTopImpl 的构造器参数 2026-06-30 00:06:57 +08:00
3d72954bb2 refactor: 移动顶层实施对象 2026-06-29 23:58:52 +08:00
1ce0283743 feat: 勇士默认撞击行为 2026-06-29 21:44:22 +08:00
c4bcecdf8a feat: 勇士撞击行为 2026-06-29 19:57:46 +08:00
0508dfb9e4 feat: 地形通行性判断 2026-06-28 22:42:27 +08:00
eb34d63e96 feat: 图块信息接口 2026-06-28 19:32:46 +08:00
fadcc98864 refactor: 跟随者与勇士移动 2026-06-27 20:33:49 +08:00
566ffc586a chore: 战斗返回值调整 2026-06-17 20:24:28 +08:00
604c77f7c7 refactor: 怪物接口拓展自 IStateBaseExtended 2026-06-12 22:55:08 +08:00
c48f91c25c refactor: 修改 mover 名称 2026-05-29 14:07:21 +08:00
370f285964 refactor: 删除污染严重的 TEnemy 和 THero,仅在战斗系统中包含 2026-05-17 23:56:40 +08:00
13e8547a37 refactor: 触发器类型问题 2026-05-17 23:27:29 +08:00
03dc5ea60b feat: 触发器收集 2026-05-17 22:56:01 +08:00
7428f41c93 refactor: 移除 data-utils 包 2026-05-17 22:03:22 +08:00
0f5b1f4d80 refactor: 删除旧 Range 接口 2026-05-17 21:50:49 +08:00
b779e62eb2 refactor: 统一三个数据层的接口风格 2026-05-17 21:38:29 +08:00
8f4c4b7df2 refactor: 将 Layer 0 单独放到一个包 2026-05-17 21:32:23 +08:00