template/packages-user/data-base/src
unanmed b2626bd438 fix(07-09): keep hero attribute instance stable and clear generic variance
- HeroAttribute.loadState replaces its private base object; the HeroAttribute wrapper identity is preserved so equipment/combat references stay valid across load (#06-17-1/#06-17-2).

- Clone the incoming base attribute in the constructor so the shared HERO_DEFAULT_ATTRIBUTE is no longer mutated across CoreState instances.

- Use any for the hero position in combat handler/aura/enemy-view generics to clear the 45 new type errors introduced by HeroAttribute implementing ISaveableContent.
2026-09-16 19:35:54 +08:00
..
enemy fix(07-02): #06-03-1 resolve the reuse mapping in enemy creation 2026-09-15 17:16:44 +08:00
flag test(06-09): cover map, replay and flag save/load round trips 2026-09-14 18:57:51 +08:00
hero fix(07-09): keep hero attribute instance stable and clear generic variance 2026-09-16 19:35:54 +08:00
load refactor: 加载系统核心移动至数据端 2026-03-30 19:07:13 +08:00
map fix(07-05): #06-06-1 warn code 128 for an out-of-map dynamic transfer 2026-09-15 20:45:01 +08:00
game.ts feat(03-01): add Node-safe core state construction 2026-09-10 15:35:01 +08:00
index.ts refactor: 将 Layer 0 单独放到一个包 2026-05-17 21:32:23 +08:00
shared.ts refactor: 跟随者与勇士移动 2026-06-27 20:33:49 +08:00
types.ts feat: MapStore 2026-07-17 22:42:16 +08:00