• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

v21.1 Level Caps Ex 1.3

This resource pertains to version 21.1 of Pokémon Essentials.
Should all be good now, if not let me know thx

(link is the same)
#### Changes

1. Configuration File (000_Config.rb):
- Added a new configuration option PLAYER_ONLY to specify whether the level cap restrictions should only affect the player or both the player and the opponents.

2. Main File (001_Main.rb):
- Adjusted the logic in the methods level=, crosses_level_cap?, and pbGainExpOne to consider the new configuration option PLAYER_ONLY.
- Ensured that the level cap restrictions are only applied to the player's Pokémon when PLAYER_ONLY is set to true.

3. Additions File (002_Additions.rb):
- Adjusted the method pbGainExpFromExpCandy to ensure that Pokémon do not level up beyond the level cap when large amounts of experience points are gained at once.


### Instructions for Use

1. Configuration:
- Open the 000_Config.rb file.
- Set the PLAYER_ONLY option to true if you want the level cap to only affect the player's Pokémon.
- Set the PLAYER_ONLY option to false if you want the level cap to affect both the player's and the opponent's Pokémon.

2. Main Logic:
- The main logic in 001_Main.rb has been updated to consider the PLAYER_ONLY configuration option.
- The level cap restrictions will only apply to the player's Pokémon if PLAYER_ONLY is set to true.

3. EXP Candy Adjustments:
- The method pbGainExpFromExpCandy in 002_Additions.rb has been adjusted to ensure that Pokémon do not level up beyond the level cap when large amounts of experience points are gained at once.

By following these instructions, you can control whether the level cap restrictions apply only to the player's Pokémon or to both the player's and the opponent's Pokémon.

1. Configuration:
- Open the 000_Config.rb file.
- Set the PLAYER_ONLY option to true if you want the level cap to only affect the player's Pokémon.
- Set the PLAYER_ONLY option to false if you want the level cap to affect both the player's and the opponent's Pokémon.

2. Main Logic:
- The main logic in 001_Main.rb has been updated to consider the PLAYER_ONLY configuration option.
- The level cap restrictions will only apply to the player's Pokémon if PLAYER_ONLY is set to true.

3. EXP Candy Adjustments:
- The method pbGainExpFromExpCandy in 002_Additions.rb has been adjusted to ensure that Pokémon do not level up beyond the level cap when large amounts of experience points are gained at once.

By following these instructions, you can control whether the level cap restrictions apply only to the player's Pokémon or to both the player's and the opponent's Pokémon.
Update Notes - Version 1.1.0
🎉 New Features:- Level Cap Options: You can now set a level cap specifically for the opponent or the player. (Check 000_Config)

🔄 Compatibility:- Voltseon's Pause Menu Compatibility: The game now displays the current level cap in Voltseon's Pause Menu.

🐛 Bug Fixes:
- PBS Encounters File Issue: Fixed the issue where the plugin was changing the levels of the Pokémon in the "encounters" file in the PBS folder. This caused an error during compilation. Manually changing the levels only provided a temporary fix, which has now been resolved.

- EXP Candies Cap Exploit: Fixed the exploit where giving Exp Candies to Pokémon allowed them to surpass the level cap if the candy was large enough. For example, an Exp Candy M could push a level 19 Sandshrew to level 21 while the cap was set to 20. This issue has been addressed, and Pokémon will no longer surpass the cap when using Exp Candies.- General Stability Improvements: Various bug fixes and stability improvements to ensure a smoother gameplay experience.


New link is up
Fixed wrong instructions in Main
Fixed always says "Pokemon got {2} Exp. Points!"
Wrong Fix lol, now the right one
Fixed the Requires Error
Back
Top