docs: mintlify 文档撰写#5
Merged
Merged
Conversation
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
docs: mintlify 文档撰写
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.