修复 Cobblemon 宝可梦经验值
一款 Fabric/NeoForge 模组,旨在修复 Cobblemon 中的经验值获取系统,使其与正作宝可梦游戏一致。
下载
问题所在
在 Cobblemon 中,经验值(XP)仅在战斗结束时发放。这对于野生宝可梦遭遇战(1v1)来说没有问题,但当使用如 Radical Cobblemon Trainers (RCT) 等训练家模组时,就会出现麻烦。
在包含多只宝可梦的训练家战斗中,你只有在击败训练家的所有宝可梦后才会获得经验值,而不是在每次击倒对手后获得。
修复方案
本模组将经验值系统更改为在每只宝可梦被击倒后立即发放经验值,正如官方宝可梦游戏中那样。
功能特性:
- 当你击倒一只宝可梦时立即获得经验值
- 支持学习装置(Exp Share),行为与原版 Cobblemon 一致
- 兼容 RCT 等训练家模组
- 无需配置即可使用
工作原理
- 监听 Cobblemon 的
BATTLE_FAINTED事件 - 当对手倒下时,立即向你的宝可梦发放经验值
- 阻止战斗结束时的默认经验值分配(以防止重复获得经验值)
安装指南
- 为 Minecraft 1.21.1 安装 Fabric Loader 或 NeoForge
- 安装 Cobblemon 1.7.0 或更高版本
- 下载模组 JAR 文件并将其放入你的
mods文件夹中
兼容性
- Minecraft: 1.21.1
- Cobblemon: 1.7.0+
- Fabric Loader: 0.18.4+ / NeoForge: 21.1.172+
- 兼容:Radical Cobblemon Trainers (RCT) 及其他训练家模组
常见问题 / 已知限制
我的宝可梦在战斗中升级了,但战斗界面中的属性没有变化?
这是一个已知限制。 当你的宝可梦在战斗中途升级时:
- 战斗聊天中会显示升级消息
- 宝可梦的数据已在服务器端更新(等级、属性等)
- 队伍界面和详情屏幕会显示正确的最新等级
然而,用于伤害计算的战斗属性(HP、攻击、防御等)仍保持为战斗开始时的数值。这是因为 Cobblemon 使用 Pokemon Showdown 作为其战斗模拟器,而 Showdown 仅在战斗开始时计算一次属性,且内置机制不支持在战斗中更新它们。
解决方法: 如果你需要新属性在战斗期间生效,你可以让你的宝可梦退场然后再重新上场。当它再次进入战斗时,属性将会重新计算。
这种行为与某些官方宝可梦游戏处理战斗中途升级的方式一致(属性在战斗结束后或切换宝可梦时更新)。
许可证
LGPLv3 许可证 - 请参阅 LICENSE 文件。
Fix Cobblemon Pokemon Experience
A Fabric/NeoForge mod that fixes the experience gain system in Cobblemon to work like the mainline Pokemon games.
Downloads
The Problem
In Cobblemon, experience points (XP) are only awarded at the end of a battle. This works fine for wild Pokemon encounters (1v1), but becomes problematic when using trainer mods like Radical Cobblemon Trainers (RCT).
In trainer battles with multiple Pokemon, you only receive XP after defeating all of the trainer's Pokemon, instead of after each knockout.
The Fix
This mod changes the XP system to award experience immediately after each Pokemon is knocked out, just like in the official Pokemon games.
Features:
- XP is awarded instantly when you KO a Pokemon
- Works with Exp Share items (same behavior as vanilla Cobblemon)
- Compatible with trainer mods like RCT
- No configuration needed
How It Works
- Listens to Cobblemon's
BATTLE_FAINTEDevent - Awards XP to your Pokemon immediately when an opponent faints
- Blocks the default XP distribution at the end of battle (to prevent double XP)
Installation
- Install Fabric Loader or NeoForge for Minecraft 1.21.1
- Install Cobblemon 1.7.0+
- Download the mod JAR and place it in your
modsfolder
Compatibility
- Minecraft: 1.21.1
- Cobblemon: 1.7.0+
- Fabric Loader: 0.18.4+ / NeoForge: 21.1.172+
- Works with: Radical Cobblemon Trainers (RCT) and other trainer mods
FAQ / Known Limitations
My Pokemon leveled up during battle but the stats in combat didn't change?
This is a known limitation. When your Pokemon levels up mid-battle:
- A level up message is displayed in the battle chat
- The Pokemon's data is updated on the server (level, stats, etc.)
- The party overlay and summary screen show the correct new level
However, the battle stats (HP, Attack, Defense, etc.) used for damage calculations remain those from the start of the battle. This is because Cobblemon uses Pokemon Showdown as its battle simulator, and Showdown calculates stats once at the beginning of the battle with no built-in way to update them mid-combat.
Workaround: If you need the new stats to take effect during the battle, you can switch out your Pokemon and switch it back in. The stats will be recalculated when it re-enters battle.
This behavior is consistent with how some official Pokemon games handle mid-battle level ups (stats update after the battle or upon switching).
License
LGPLv3 License - See LICENSE file.
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fix Cobblemon Pokemon Experience
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
新增
- 兼容 Cobblemon EXP-All 模组(Axel-WF):经验值现在通过
BattleActor.awardExperience()发放,从而能够触发 EXP-All 的共享钩子
更改
- 更新以适配 Cobblemon 1.8.1
- 不再支持 Cobblemon 1.7.x
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
一堆修复
模组
如果游戏能告知重要的刷新点,会怎样?
模组
一款适用于你选择的加载器的 Minecraft VR 模组!
模组
为盔甲架添加图形用户界面,允许你配置其姿势和其他属性
评论 0
登录后参与评分
还没有评论,来抢沙发吧