AncTe
dd4e66a335
refactor(replay): rewrite remaining commands and register in CoreState
...
- ReplayUseItemCommand / ReplayEquipCommand / ReplayUnequipCommand now extend
BaseReplayCommand with fixed numeric params and per-false-position logger
error codes (2006-2010); string item/slot params removed, autoUnload is a
required bool.
- remove isNumber/isItem/isBoolean/isSlot/resolveSlot helpers; all logic now
lives in the command classes.
- drop createReplayCommandItems/registerReplayCommandItems; CoreState owns a
private registerReplayCommand() registering the eight stable codes directly.
- prune unused replay boundary types from replay/types.ts.
- fix ReplaySandbox: a replay ending on a run of moves now finalizes the
trailing run through notExecuted (previously the last move never started).
- rewrite commands.test.ts for the base-class design and direct registration.
Verified: data type gate 0 in-scope; vitest 19 files / 112 tests pass; prettier
and eslint clean on touched files.
2026-09-13 15:39:12 +08:00
AncTe
37bfb77301
refactor(replay): add command base class and rewrite move/teleport
...
- BaseReplayCommand with name/paramTypes and assertParameter guard
- add optional IReplayCommand.notExecuted for trailing-step finalization
- sandbox invokes previous command notExecuted when the next command differs
- rewrite ReplayMoveCommand (batched step + notExecuted start/await) and ReplayTeleportCommand
- add replay logger error codes 2001-2005 and warn 175
NOTE: command tests still reference the pre-rewrite class names; updated in follow-up.
2026-09-13 15:16:51 +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
7f19773477
chore(03): checkpoint data layer structure
2026-09-10 13:30:53 +08:00
AncTe
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
AncTe
e27015c4d2
fix(02-02): cost 守卫允许 Infinity,仅拦 NaN 与负数
2026-09-09 19:30:12 +08:00
AncTe
622008f67c
refactor: 按审查意见调整寻路模块与开发规范
2026-09-09 19:05:57 +08:00
AncTe
53d019f62e
feat(02-02): add minimal-loss pathfinding system with getPath, controller contract and fallback policy
2026-09-09 17:29:22 +08:00
AncTe
0cd6ab6a2d
feat(02-02): build pathfinding directed graph with injected pass predicate and authorized types fix
2026-09-09 17:17:48 +08:00
AncTe
a730f33195
fix(01-06): reject malformed raw event structures
...
- Validate map, layer, position, priority, and event id shapes before registration.
- Add dedicated logger codes and no-partial-registration coverage.
2026-09-08 23:53:39 +08:00
AncTe
7eeab32134
refactor: 游戏地图接口重构
2026-08-21 01:39:47 +08:00
AncTe
f4c77d152f
feat: 楼层切换
2026-07-26 20:22:36 +08:00
AncTe
bf6702be54
feat: 录像系统
2026-07-16 20:34:28 +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
9b3c3a4e40
feat: 道具效果存储
2026-07-01 23:45:06 +08:00
AncTe
6029d038c6
feat: IITemStore
2026-07-01 22:19:48 +08:00
AncTe
3d72954bb2
refactor: 移动顶层实施对象
2026-06-29 23:58:52 +08:00
AncTe
eb34d63e96
feat: 图块信息接口
2026-06-28 19:32:46 +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
370f285964
refactor: 删除污染严重的 TEnemy 和 THero,仅在战斗系统中包含
2026-05-17 23:56:40 +08:00
AncTe
03dc5ea60b
feat: 触发器收集
2026-05-17 22:56:01 +08:00
AncTe
7428f41c93
refactor: 移除 data-utils 包
2026-05-17 22:03:22 +08:00
AncTe
8f4c4b7df2
refactor: 将 Layer 0 单独放到一个包
2026-05-17 21:32:23 +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
fbdd609001
feat: 动态图层
2026-05-11 23:35:46 +08:00
AncTe
4c48b63e7e
refactor: 地图分区与尺寸优化
2026-05-06 19:57:11 +08:00
AncTe and Copilot
70a58ef4dc
refactor: 地图存储
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-26 13:33:49 +08:00
AncTe and Copilot
476f735adc
refactor: manager 的复用方案 & fix: 类型错误
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-24 23:12:18 +08:00
AncTe and Copilot
2ce50bf23e
refactor: 怪物管理器存档
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-24 22:17:01 +08:00
AncTe and Copilot
8c1becc9f1
refactor: 存档系统 & 勇士属性存档
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-24 17:29:13 +08:00
AncTe
1a569804d8
refactor: getFlag
CodeQL / Analyze (javascript) (push) Has been cancelled
2026-04-21 15:46:59 +08:00
AncTe
51e9d758d8
refactor: 渲染端结构
2026-04-19 22:52:32 +08:00
AncTe
ebae685a4e
refactor: flag 系统
2026-04-18 22:39:37 +08:00
AncTe
eaa725553b
refactor: 怪物系统与勇士属性系统联动
2026-04-17 15:34:44 +08:00
AncTe
c22a51829d
refactor: IHeroState
2026-04-16 17:15:04 +08:00
AncTe
6c1acb990e
reafactor: 目录结构修改
2026-04-15 22:32:07 +08:00
AncTe
0517da5000
feat: 伤害计算系统
2026-04-15 18:26:25 +08:00
AncTe
4c0960fff7
refactor: Range 接口重构
2026-04-15 15:07:17 +08:00
AncTe
057d5ab813
feat: 怪物及地图伤害系统
2026-04-14 18:10:21 +08:00
AncTe
4fc6db3e79
refactor: 客户端加载
2026-03-20 16:08:43 +08:00
AncTe
fdeee99d40
refactor: delete @motajs/legacy-data
2026-03-17 19:38:08 +08:00
AncTe
ee54148558
refactor: 音频系统
2026-03-17 19:34:30 +08:00
AncTe
191ba8d1db
refactor: 渲染系统
2026-03-16 12:23:02 +08:00
AncTe
9ab0db9465
feat: Transition 渐变类
2026-03-10 16:49:41 +08:00
AncTe
f6a065fa3e
feat: 动画以曲线参考值为终值
2026-03-10 15:17:45 +08:00
AncTe
555cf96d76
feat: 动画类 Animater
2026-03-10 15:03:03 +08:00