Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard Level Caps Issues #4378

Closed
WillKolada opened this issue Apr 11, 2024 · 1 comment · Fixed by #4420
Closed

Hard Level Caps Issues #4378

WillKolada opened this issue Apr 11, 2024 · 1 comment · Fixed by #4420
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet

Comments

@WillKolada
Copy link

WillKolada commented Apr 11, 2024

Description

If a Pokemon gains enough experience all at once, it can overlevel the current cap. For example, if the cap is 15 and I have a level 14 Bulbasaur that gains 2000+ experience, I can shoot right past 15 into 16 and beyond. This seems like it would be tricky to address while still accurately reporting gained experience in the actual battle text, admittedly.

Additionally, if you have both Hard Level Caps and Gen 5/7+ Scaled Experience enabled, then when a Pokemon at or past the current level cap would earn experience in battle, instead of earning 0, it earns 1. This appears to be due to how ApplyExperienceMultipliers accounts for large experience values if Gen 5/7+ Scaled Experience is enabled.

Version

1.8.1 (Latest release)

Upcoming/master Version

#4363

Discord contact info

Special K#8400

@WillKolada WillKolada added bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet labels Apr 11, 2024
@WillKolada WillKolada changed the title Hard Level Caps still give 1 XP upon defeating a Pokemon if Scaled Experience is set to Gen 5/7+ Hard Level Caps Issues Apr 11, 2024
@AlexOn1ine
Copy link
Collaborator

If a Pokemon gains enough experience all at once, it can overlevel the current cap. For example, if the cap is 15 and I have a level 14 Bulbasaur that gains 2000+ experience, I can shoot right past 15 into 16 and beyond. This seems like it would be tricky to address while still accurately reporting gained experience in the actual battle text, admittedly.

XP Candies have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants