Commit Graph

12 Commits

Author SHA1 Message Date
8fb16a103d refactor: 删除 setAttributeDefaults 接口 2026-10-08 19:17:54 +08:00
47e71b52ae refactor: EnemyManager 2026-09-24 14:40:38 +08:00
b70ccbd5f6 fix(07-02): #06-03-1 resolve the reuse mapping in enemy creation
- createEnemy/createEnemyById now resolve prefabs through internalGetPrefab,
  matching getPrefab/deletePrefab/modifyPrefabAttribute behaviour
- add a Chinese invariant comment above createEnemyById covering all
  code/id prefab entry points
- un-skip the two correct-expectation reuse mapping cases in manager.test.ts
  (assertions unchanged) and sync their Chinese comments
2026-09-15 17:16:44 +08:00
370f285964 refactor: 删除污染严重的 TEnemy 和 THero,仅在战斗系统中包含 2026-05-17 23:56:40 +08:00
8f4c4b7df2 refactor: 将 Layer 0 单独放到一个包 2026-05-17 21:32:23 +08:00
70a58ef4dc refactor: 地图存储
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 13:33:49 +08:00
476f735adc refactor: manager 的复用方案 & fix: 类型错误
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 23:12:18 +08:00
2ce50bf23e refactor: 怪物管理器存档
Co-authored-by: Copilot <copilot@github.com>
2026-04-24 22:17:01 +08:00
1a569804d8 refactor: getFlag
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
2026-04-21 15:46:59 +08:00
39e91b241f refactor: 将旧样板怪物移植单独提取出来 2026-04-15 23:12:28 +08:00
a24911400f refactor: 怪物基本属性改为泛型 2026-04-15 14:49:36 +08:00
057d5ab813 feat: 怪物及地图伤害系统 2026-04-14 18:10:21 +08:00