Class: Battle::Move::MagnetRise

Inherits:
Move
  • Object
show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Class describing the Magnet Rise move

Constant Summary collapse

EFFECTS_TO_CHECK =

Effects that prevent the use of the move

Returns:

  • (Array<Symbol>)
%i[magnet_rise ingrain smack_down]

Instance Method Summary collapse

Instance Method Details

#move_usable_by_user(user, targets) ⇒ Boolean

Note:

Thing that prevents the move from being used should be defined by :move_prevention_user Hook

Function that tests if the user is able to use the move

Parameters:

Returns:

  • (Boolean) —

    if the procedure can continue



4507
4508
# File 'docs/5_Battle_10_Move.rb', line 4507

def move_usable_by_user(user, targets)
end