Class: Battle::Move::BeatUp
Overview
Class that manage the move Beat Up Beat Up inflicts damage on the target from the user, and each conscious Pokémon in the user's party that does not have a non-volatile status.
Instance Method Summary collapse
-
#move_usable_by_user(user, targets) ⇒ Boolean
Function that tests if the user is able to use the move.
-
#real_base_power(user, target) ⇒ Integer
Get the real base power of the move (taking in account all parameter).
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
1958 1959 |
# File 'docs/5_Battle_10_Move.rb', line 1958 def move_usable_by_user(user, targets) end |
#real_base_power(user, target) ⇒ Integer
Get the real base power of the move (taking in account all parameter)
1964 1965 |
# File 'docs/5_Battle_10_Move.rb', line 1964 def real_base_power(user, target) end |