Class: Pokemongodb::Pokemon::Electrode

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

Class Method Summary collapse

Methods inherited from Pokemongodb::Pokemon

all, candy_to_evolve, charge_move_types, charge_moves, egg_hatch_distance, evolves_from, evolves_into, 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/electrode.rb', line 8

def self.base_attack
  150
end

.base_defenseObject



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

def self.base_defense
  174
end

.base_staminaObject



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

def self.base_stamina
  120
end

.buddy_candy_distanceObject



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

def self.buddy_candy_distance
  2
end

.capture_rateObject



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

def self.capture_rate
  0.16
end

.cp_gainObject



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

def self.cp_gain
  24
end

.descriptionObject



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

def self.description
  "One of Electrode's characteristics is its attraction to electricity. It is a problematical Pokémon that congregates mostly at electrical power plants to feed on electricity that has just been generated."
end

.flee_rateObject



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

def self.flee_rate
  0.06
end

.heightObject



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

def self.height
  1.2
end

.idObject



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

def self.id
  101
end

.max_cpObject



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

def self.max_cp
  1646.14
end

.movesObject



48
49
50
51
52
53
54
55
56
# File 'lib/pokemongodb/pokemon/electrode.rb', line 48

def self.moves
  [
    Pokemongodb::Move::Tackle,
    Pokemongodb::Move::Spark,
    Pokemongodb::Move::Discharge,
    Pokemongodb::Move::HyperBeam,
    Pokemongodb::Move::Thunderbolt
  ]
end

.nameObject



58
59
60
# File 'lib/pokemongodb/pokemon/electrode.rb', line 58

def self.name
  "electrode"
end

.typesObject



62
63
64
65
66
# File 'lib/pokemongodb/pokemon/electrode.rb', line 62

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

.weightObject



68
69
70
# File 'lib/pokemongodb/pokemon/electrode.rb', line 68

def self.weight
  66.6
end