Class: PFM::Wild_Info

Inherits:
Object show all
Defined in:
scripts/01200 PFM/00400 Wild/00200 Wild_Info.rb

Overview

Wild remaining Pokemon group informations

Author:

  • Nuri Yuri

Constant Summary collapse

MAX_POKEMON_LEVEL_ABILITY =

List of ability giving the max level of the pokemon we can encounter

%i[hustle pressure vital_spirit]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWild_Info

Create a new Wild_Info object

Instance Attribute Details

#chancesArray<Integer>

The list of chance to see the Pokemon (0 = delta level)

Returns:

#idsArray<Integer>

The list of Pokemon ID

Returns:

#levelsArray<Integer, Hash>

The list of Pokemon level or Hash descriptor

Returns:

#vs_typeInteger

The type of battle (1v1 2v2)

Returns:

Instance Method Details

#delta_levelInteger

Get the delta_level attribute

Returns:

#delta_level=(v)

Change the delta_level attribute

Parameters:

  • v (Array, Integer)

    the disparity in level

#pokemonArray<PFM::Pokemon>

Get the list of Pokemon for this iteration

Returns: