Simple and Customizable Level Caps

Resource Simple and Customizable Level Caps 1.0

Golisopod User

Cooltrainer
Member
Joined
May 11, 2020
Posts
211
Golisopod User submitted a new resource:

Simple and Customizable Level Caps - Easy to set up and use Level Caps in Pokemon Essentials

Simple & Customizable Level Caps


View attachment 571View attachment 572
Overview:
With the new Essentials v18 came many script changes that made older battle-related scripts incompatible. One of these was the method to add level caps. My original aim was just to make a plug-and-play version of that. However there was a myriad of other changes I ended up making to...

Read more about this resource...
 

DarrylhoBD

Novice
Member
Joined
Sep 7, 2020
Posts
15
Age
15
I tested it and it is able to hard cap Rare Candy, but it doesn't really work when it comes to battling and exp candy...

Edit: Found my problem, I just changed all pkmn.level>levelCap to pkmn.level>=levelCap (except for rare candy). Not sure if this is a mistake...
 
Last edited:

Golisopod User

Cooltrainer
Member
Joined
May 11, 2020
Posts
211
Found my problem, I just changed all pkmn.level>levelCap to pkmn.level>=levelCap (except for rare candy). Not sure if this is a mistake...
It isn't. Because if I made them ">=" then the Pokemon would stop gaining EXP before reaching the level cap. Eg: If my Level Cap is 40 then I'd want to prevent my Pokemon from going to Lv 41, not Lv 40.
 

DarrylhoBD

Novice
Member
Joined
Sep 7, 2020
Posts
15
Age
15
It isn't. Because if I made them ">=" then the Pokemon would stop gaining EXP before reaching the level cap. Eg: If my Level Cap is 40 then I'd want to prevent my Pokemon from going to Lv 41, not Lv 40.
but the problem is that for me, it isn't preventing it to go to level 41
 
Top