Skip to content

MickTK/PE-Wild-Level-Scaling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Essentials Version

Wild Level Scaling

Set wild pokémon level dynamically.

Instructions

Check settings.rb for configuration.

Relative / absolute

relative means that the minimum level is the difference between the average player's party level and the minimum level the pokémon actually can have. The same thing happens for the maximum level.

absolute means that the minimum level is actually the minimum level the wild pokémon can have. Same for the maximum.

reference

Whitelist and blacklist

The whitelist is used to set specific parameters for a single map. The scaling will be always on on these maps. The syntax is the following: <map id> => [<type>, <minimum level>, <maximum level>].

<type> can be "relative" or "absolute".

WHITELIST = {
  5  => ["relative", 3, 3],
  81 => ["absolute", 5, 10]
}

The blacklist contains the map ids where the level scaling is never applicable, even if the scaling is enable.

BLACKLIST = [26, 11]

Informations

Information Description
WildLevelScaling.relative(2,5) The wild pokémons will have a level between [party average level - 2, party average level + 5].
WildLevelScaling.absolute(10,20) The wild pokémons will have a level between [10, 20].
WildLevelScaling.disable Turn off the scaling. The pokémons will have the level as defined in the PBS file.
WildLevelScaling.min Return the current minimum level setted. Nil if disabled.
WildLevelScaling.max Return the current maximum level setted. Nil if disabled.
WildLevelScaling.status Return: "rel" / "abs" or Nil if disabled.

Installation: instructions.