Class: Battle::Move::Bide
- Inherits:
-
BasicWithSuccessfulEffect
- Object
- Move
- Basic
- BasicWithSuccessfulEffect
- Battle::Move::Bide
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Bide Move
Instance Method Summary collapse
-
#deal_damage(user, actual_targets)
Function that deals the damage to the pokemon.
-
#definitive_types(user, target) ⇒ Array<Integer>
Get the types of the move with 1st type being affected by effects.
-
#move_usable_by_user(user, targets) ⇒ Boolean
Function that tests if the user is able to use the move.
-
#multi_turn? ⇒ Boolean
Tell if the move will take two or more turns.
Methods inherited from BasicWithSuccessfulEffect
Methods inherited from Basic
Instance Method Details
#deal_damage(user, actual_targets)
Function that deals the damage to the pokemon
2093 2094 |
# File 'docs/5_Battle_10_Move.rb', line 2093 def deal_damage(user, actual_targets) end |
#definitive_types(user, target) ⇒ Array<Integer>
Get the types of the move with 1st type being affected by effects
2088 2089 |
# File 'docs/5_Battle_10_Move.rb', line 2088 def definitive_types(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
2100 2101 |
# File 'docs/5_Battle_10_Move.rb', line 2100 def move_usable_by_user(user, targets) end |
#multi_turn? ⇒ Boolean
Tell if the move will take two or more turns
2082 2083 |
# File 'docs/5_Battle_10_Move.rb', line 2082 def multi_turn? end |