Class: Battle::Move::SkillSwap

Inherits:
AbilityChanging show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Class managing Skill Swap move

Instance Method Summary collapse

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

Parameters:

Returns:

  • (Boolean)


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

Parameters:



1603
1604
# File 'docs/5_Battle_10_Move.rb', line 1603

def deal_effect(user, actual_targets)
end