Class: Battle::Move::AlluringVoice

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

Overview

Class describing the Alluring Voice move

Direct Known Subclasses

BurningJealousy

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage

Instance Method Details

#deal_effect(user, actual_targets)

Function that deals the effect to the pokemon

Parameters:



1750
1751
# File 'docs/5_Battle_10_Move.rb', line 1750

def deal_effect(user, actual_targets)
end

#effect_working?(user, actual_targets) ⇒ Boolean

Test if the effect is working

Parameters:

Returns:

  • (Boolean)


1745
1746
# File 'docs/5_Battle_10_Move.rb', line 1745

def effect_working?(user, actual_targets)
end

#status ⇒ Symbol

Returns the status that will be applied to the pokemon.

Returns:

  • (Symbol) —

    the status that will be applied to the pokemon



1753
1754
# File 'docs/5_Battle_10_Move.rb', line 1753

def status
end