Class: Battle::Move::SappySeed

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

Overview

Class describing the Sappy Seed move

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:



6000
6001
# File 'docs/5_Battle_10_Move.rb', line 6000

def deal_effect(user, actual_targets)
end

#effect_working?(user, actual_targets) ⇒ Boolean

Test if the effect is working

Parameters:

Returns:

  • (Boolean)


5995
5996
# File 'docs/5_Battle_10_Move.rb', line 5995

def effect_working?(user, actual_targets)
end