- 1
- Posts
- 8
- Years
- Seen May 25, 2015
Hello. I have a feeling this will require a custom script, but I'll just throw it out there anyway.
Let's say I have a trainer encounter, and that trainer has a Gengar. Is there anyway to define that Gengar's level as:
If [Highest Level in Player Party]≤30, [Gengar Level]=30
If [Highest Level in Player Party]>30, [Gengar Level]=[Highest Player Level]*0.9
So basically I have a set minimum level and and a variable level that scales with the player party. In practice:
Player's highest level is 20? Gengar is level 30
Player's highest level is 30? Gengar is level 30
Player's highest level is 50? Gengar is level 45
Player's highest level is 100? Gengar is level 90
Thanks ahead of time. I'm code illiterate so sorry if this had an obvious answer (or is impossible). I know at least one of the official games had a scaling level mechanic based on the player party levels, so I have hopes that I can pull something similar without getting too complicated.
Let's say I have a trainer encounter, and that trainer has a Gengar. Is there anyway to define that Gengar's level as:
If [Highest Level in Player Party]≤30, [Gengar Level]=30
If [Highest Level in Player Party]>30, [Gengar Level]=[Highest Player Level]*0.9
So basically I have a set minimum level and and a variable level that scales with the player party. In practice:
Player's highest level is 20? Gengar is level 30
Player's highest level is 30? Gengar is level 30
Player's highest level is 50? Gengar is level 45
Player's highest level is 100? Gengar is level 90
Thanks ahead of time. I'm code illiterate so sorry if this had an obvious answer (or is impossible). I know at least one of the official games had a scaling level mechanic based on the player party levels, so I have hopes that I can pull something similar without getting too complicated.