claude-code-best/packages/pokemon/src/core
claude-code-best 74682b2a82 refactor: 代码优化 — 扩展类型覆盖、修复变量遮蔽、移除未使用导入
- engine.ts: 扩展 getSpeciesMoves 覆盖全部 18 种属性
- settlement.ts: 重命名 species → oppSpecies 避免遮蔽外层变量
- storage.ts: addItemToBag/removeItemFromBag 深拷贝 bag items 避免修改原对象
- BattleFlow.tsx: 移除未使用导入和条件 useInput 调用(React hooks 规则)
- BattleView.tsx: 移除未使用的 BattlePokemon/MoveOption/Dex 导入

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-22 00:49:48 +08:00
..
creature.ts feat: Phase 1 — 数据模型升级 Creature v2 + PCBox/Bag 2026-04-22 00:20:08 +08:00
effort.ts feat: 第一版可用 pokemon 2026-04-21 19:03:31 +08:00
egg.ts feat: Phase 1 — 数据模型升级 Creature v2 + PCBox/Bag 2026-04-22 00:20:08 +08:00
evolution.ts refactor: Phase 0 — 清除重复,委托 @pkmn 生态 2026-04-22 00:05:05 +08:00
experience.ts feat: 又是更新了一大堆 2026-04-21 21:38:13 +08:00
gender.ts feat: 第一版可用 pokemon 2026-04-21 19:03:31 +08:00
spriteCache.ts feat: 又是更新了一大堆 2026-04-21 21:38:13 +08:00
storage.ts refactor: 代码优化 — 扩展类型覆盖、修复变量遮蔽、移除未使用导入 2026-04-22 00:49:48 +08:00