Class: Battle::Move::HiddenPower

Inherits:
Basic show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Class describing the Hidden Power move Hidden Power deals damage, however its type varies for every Pokémon, depending on that Pokémon's Individual Values (IVs).

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#definitive_types(user, target) ⇒ Array<Integer>

Get the types of the move with 1st type being affected by effects

Parameters:

Returns:

  • (Array<Integer>) —

    list of types of the move



3983
3984
# File 'docs/5_Battle_10_Move.rb', line 3983

def definitive_types(user, target)
end