Class: Battle::Move::MagnetRise
Overview
Class describing the Magnet Rise move
Constant Summary collapse
- EFFECTS_TO_CHECK =
Effects that prevent the use of the move
%i[magnet_rise ingrain smack_down]
Instance Method Summary collapse
-
#move_usable_by_user(user, targets) ⇒ Boolean
Function that tests if the user is able to use the move.
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
4507 4508 |
# File 'docs/5_Battle_10_Move.rb', line 4507 def move_usable_by_user(user, targets) end |