Skip to content

docs: mintlify 文档撰写#5

Merged
claude-code-best merged 1 commit into
mainfrom
feature/prod
Apr 1, 2026
Merged

docs: mintlify 文档撰写#5
claude-code-best merged 1 commit into
mainfrom
feature/prod

Conversation

@claude-code-best
Copy link
Copy Markdown
Owner

No description provided.

@claude-code-best claude-code-best merged commit ce2f19c into main Apr 1, 2026
0 of 2 checks passed
@claude-code-best claude-code-best deleted the feature/prod branch April 4, 2026 13:10
claude-code-best added a commit that referenced this pull request Apr 24, 2026
- 新增 capture.ts:Gen 9 捕获率计算,支持精灵球/状态/时间修正
- 实现逃跑概率公式 (Gen 9) 和失败累计机制
- createBattle 支持多对手 OpponentEntry[],AI 换人考虑属性克制
- AI 选招改为优先克制招式,避免蓄力招式和被抵抗招
- 野生招式从 Dex.data.Learnsets 按等级获取,替换硬编码映射
- 实现 Potion/SuperPotion/FullRestore 等回复药效果
- 野生对手随机持有道具(5%树果/专属、3%属性增强道具)
- 新增 VolatileStatus 类型,BattlePokemon 添加 volatileStatus
- needsSwitch 检测改为更健壮的 p1Fainted + hasAliveBench 逻辑
- 解决 #3 物品使用、#4 逃跑、#5 多精灵对战、#6 AI、#7 野生招式、
  #10 捕获系统、#11 volatile状态、#12 天气/地形、#19 野生道具

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
dfsfdfse pushed a commit to dfsfdfse/claude-code that referenced this pull request Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant