Class: Battle::Move::SkillSwap
- Inherits:
-
AbilityChanging
- Object
- Move
- AbilityChanging
- Battle::Move::SkillSwap
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class managing Skill Swap move
Instance Method Summary collapse
-
#can_be_used?(user, target) ⇒ Boolean
Checks if the user can use the move.
-
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon.
Methods inherited from AbilityChanging
#ability_symbol, #giver, #move_usable_by_user, #post_ability_change_message, #receiver
Instance Method Details
#can_be_used?(user, target) ⇒ Boolean
Checks if the user can use the move
1609 1610 |
# File 'docs/5_Battle_10_Move.rb', line 1609 def can_be_used?(user, target) end |
#deal_effect(user, actual_targets)
Function that deals the effect to the pokemon
1603 1604 |
# File 'docs/5_Battle_10_Move.rb', line 1603 def deal_effect(user, actual_targets) end |