Class: Battle::Move::Rest
Overview
Class managing Rest
Instance Method Summary collapse
-
#deal_status(user, actual_targets)
Function that deals the status condition to the pokemon.
-
#move_blocked_by_target?(user, target) ⇒ Boolean
Function that tests if the targets blocks the move.
-
#move_usable_by_user(user, targets) ⇒ Boolean
Function that tests if the user is able to use the move.
-
#uproar? ⇒ Boolean
If a pokemon is using Uproar.
Instance Method Details
#deal_status(user, actual_targets)
Function that deals the status condition to the pokemon
5760 5761 |
# File 'docs/5_Battle_10_Move.rb', line 5760 def deal_status(user, actual_targets) end |
#move_blocked_by_target?(user, target) ⇒ Boolean
Note:
Thing that prevents the move from being used should be defined by :move_prevention_target Hook.
Function that tests if the targets blocks the move
5751 5752 |
# File 'docs/5_Battle_10_Move.rb', line 5751 def move_blocked_by_target?(user, target) end |
#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
5744 5745 |
# File 'docs/5_Battle_10_Move.rb', line 5744 def move_usable_by_user(user, targets) end |
#uproar? ⇒ Boolean
If a pokemon is using Uproar
5755 5756 |
# File 'docs/5_Battle_10_Move.rb', line 5755 def uproar? end |