Class: Battle::Move::FlyingPress

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

Overview

Class describing the Flying Press move Move that has a flying type as second type

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#bypass_chance_of_hit?(user, target) ⇒ Boolean

Check if the move bypass chance of hit and cannot fail

Parameters:

Returns:

  • (Boolean)


3290
3291
# File 'docs/5_Battle_10_Move.rb', line 3290

def bypass_chance_of_hit?(user, target)
end

#damages(user, target) ⇒ Integer

Method calculating the damages done by the actual move

Parameters:

Returns:

  • (Integer)


3284
3285
# File 'docs/5_Battle_10_Move.rb', line 3284

def damages(user, target)
end

#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



3278
3279
# File 'docs/5_Battle_10_Move.rb', line 3278

def definitive_types(user, target)
end