Class: PFM::Wild_Info
- Defined in:
- scripts/01200 PFM/00400 Wild/00200 Wild_Info.rb
Overview
Wild remaining Pokemon group informations
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
-
#chances ⇒ Array<Integer>
The list of chance to see the Pokemon (0 = delta level).
-
#ids ⇒ Array<Integer>
The list of Pokemon ID.
-
#levels ⇒ Array<Integer, Hash>
The list of Pokemon level or Hash descriptor.
-
#vs_type ⇒ Integer
The type of battle (1v1 2v2).
Instance Method Summary collapse
-
#delta_level ⇒ Integer
Get the delta_level attribute.
-
#delta_level=(v)
Change the delta_level attribute.
-
#initialize ⇒ Wild_Info
constructor
Create a new Wild_Info object.
-
#pokemon ⇒ Array<PFM::Pokemon>
Get the list of Pokemon for this iteration.
Constructor Details
#initialize ⇒ Wild_Info
Create a new Wild_Info object
Instance Attribute Details
#chances ⇒ Array<Integer>
The list of chance to see the Pokemon (0 = delta level)
#ids ⇒ Array<Integer>
The list of Pokemon ID
#levels ⇒ Array<Integer, Hash>
The list of Pokemon level or Hash descriptor
#vs_type ⇒ Integer
The type of battle (1v1 2v2)
Instance Method Details
#delta_level ⇒ Integer
Get the delta_level attribute
#delta_level=(v)
Change the delta_level attribute
#pokemon ⇒ Array<PFM::Pokemon>
Get the list of Pokemon for this iteration