Class: Battle::Move::Struggle

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

Overview

Class describing the Struggle move

Constant Summary

Constants inherited from RecoilMove

RecoilMove::RECOIL_FACTORS

Instance Method Summary collapse

Methods inherited from RecoilMove

#recoil, #recoil?, #recoil_applies_on_user_hp?, #recoil_applies_on_user_max_hp?, #recoil_factor

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



5644
5645
# File 'docs/5_Battle_10_Move.rb', line 5644

def definitive_types(user, target)
end