Class: Pokemongodb::Pokemon::Metapod

Inherits:
Pokemongodb::Pokemon show all
Defined in:
lib/pokemongodb/pokemon/metapod.rb

Class Method Summary collapse

Methods inherited from Pokemongodb::Pokemon

all, charge_move_types, charge_moves, egg_hatch_distance, evolves_from, fast_move_types, fast_moves, find, find_by_type, move_sets, move_types, perfect_hatch_iv, role, strong_against, weak_against

Methods inherited from Pokemongodb

to_s

Class Method Details

.base_attackObject



8
9
10
# File 'lib/pokemongodb/pokemon/metapod.rb', line 8

def self.base_attack
  56
end

.base_defenseObject



12
13
14
# File 'lib/pokemongodb/pokemon/metapod.rb', line 12

def self.base_defense
  86
end

.base_staminaObject



16
17
18
# File 'lib/pokemongodb/pokemon/metapod.rb', line 16

def self.base_stamina
  100
end

.buddy_candy_distanceObject



20
21
22
# File 'lib/pokemongodb/pokemon/metapod.rb', line 20

def self.buddy_candy_distance
  1
end

.candy_to_evolveObject



24
25
26
# File 'lib/pokemongodb/pokemon/metapod.rb', line 24

def self.candy_to_evolve
  50
end

.capture_rateObject



28
29
30
# File 'lib/pokemongodb/pokemon/metapod.rb', line 28

def self.capture_rate
  0.4
end

.cp_gainObject



32
33
34
# File 'lib/pokemongodb/pokemon/metapod.rb', line 32

def self.cp_gain
  7
end

.descriptionObject



36
37
38
# File 'lib/pokemongodb/pokemon/metapod.rb', line 36

def self.description
  "The shell covering this Pokémon's body is as hard as an iron slab. Metapod does not move very much. It stays still because it is preparing its soft innards for evolution inside the hard shell."
end

.evolves_intoObject



40
41
42
# File 'lib/pokemongodb/pokemon/metapod.rb', line 40

def self.evolves_into
  Pokemongodb::Pokemon::Butterfree
end

.flee_rateObject



44
45
46
# File 'lib/pokemongodb/pokemon/metapod.rb', line 44

def self.flee_rate
  0.2
end

.heightObject



48
49
50
# File 'lib/pokemongodb/pokemon/metapod.rb', line 48

def self.height
  0.7
end

.idObject



4
5
6
# File 'lib/pokemongodb/pokemon/metapod.rb', line 4

def self.id
  11
end

.max_cpObject



52
53
54
# File 'lib/pokemongodb/pokemon/metapod.rb', line 52

def self.max_cp
  477.92
end

.movesObject



56
57
58
59
60
61
62
# File 'lib/pokemongodb/pokemon/metapod.rb', line 56

def self.moves
  [
    Pokemongodb::Move::Tackle,
    Pokemongodb::Move::BugBite,
    Pokemongodb::Move::Struggle
  ]
end

.nameObject



64
65
66
# File 'lib/pokemongodb/pokemon/metapod.rb', line 64

def self.name
  "metapod"
end

.typesObject



68
69
70
71
72
# File 'lib/pokemongodb/pokemon/metapod.rb', line 68

def self.types
  [
    Pokemongodb::Type::Bug
  ]
end

.weightObject



74
75
76
# File 'lib/pokemongodb/pokemon/metapod.rb', line 74

def self.weight
  9.9
end