Class: Battle::Move::HealMove

Inherits:
Move
  • Object
show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Class describing a heal move

Instance Method Summary collapse

Instance Method Details

#deal_effect(user, targets)

Function that deals the heal to the pokemon

Parameters:



1341
1342
# File 'docs/5_Battle_10_Move.rb', line 1341

def deal_effect(user, targets)
end

#heal? ⇒ Boolean

Tell that the move is a heal move

Returns:

  • (Boolean)


1344
1345
# File 'docs/5_Battle_10_Move.rb', line 1344

def heal?
end

#target_immune?(user, target) ⇒ Boolean

Function that return the immunity

Parameters:

Returns:

  • (Boolean)


1336
1337
# File 'docs/5_Battle_10_Move.rb', line 1336

def target_immune?(user, target)
end