Class: Battle::Move::SleepTalk
Overview
Class describing the Sleep Talk move
Constant Summary collapse
- CANNOT_BE_SELECTED_MOVES =
List of moves that cannot be selected by Sleep Talk
%i[assist belch bide bounce copycat dig dive freeze_shock fly focus_punch geomancy ice_burn me_first metronome sleep_talk mirror_move mimic phantom_force razor_wind shadow_force sketch skull_bash sky_attack sky_drop solar_beam uproar electro_shot]
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
6229 6230 |
# File 'docs/5_Battle_10_Move.rb', line 6229 def move_usable_by_user(user, targets) end |