- 删除硬编码 NATURES 常量,nature.ts 委托 Dex.natures - 删除硬编码 EVOLUTION_CHAINS,evolution.ts 委托 Dex.species.evos - calculateStats() 手写公式替换为 gen.stats.calc() - 统一 TO_DEX_STAT/FROM_DEX_STAT 映射到 pkmn.ts - 简化 species.ts buildEvolutionChain() 复用 getNextEvolution() - 添加 NatureName/NatureEffect 类型定义 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| package.json | ||
| tsconfig.json | ||