• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Trainer Level Scaling

Dylanrockin

That guy
276
Posts
12
Years
  • Age 28
  • Seen Jun 9, 2016
What would I have to edit in order to have the trainers scale in level with my level? Because I'm trying to make it so that if you try and over-level the enemies will be just as hard if not harder. But I also would like to make it so that certain trainers are capped, like say with this range: 25-60, what I mean by that is, if you are above level 25, and below 60, that is the range that trainer can go when he/she is scaling in level with you.
 

Arma

The Hyena
1,688
Posts
14
Years
well, you need to replace the level of the trainer's Pokemon with a variable.
That variable should contain the average level of your Pokemon. Before you enter the battle with a trainer have a script check the value of your team's average, if it's too low/high, you can change it to a more fitting value.
 

Dylanrockin

That guy
276
Posts
12
Years
  • Age 28
  • Seen Jun 9, 2016
well, you need to replace the level of the trainer's Pokemon with a variable.
That variable should contain the average level of your Pokemon. Before you enter the battle with a trainer have a script check the value of your team's average, if it's too low/high, you can change it to a more fitting value.

I see, so I would do that in an event or in the script editor?
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
This kind of thing requires scripting. There are several ways to go about what you want to do, so you'll need to know exactly that before proceeding. Each way revolves around using the method pbBalancedLevel, though.
 
Back
Top