Class: Battle::Move::OHKO

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

Overview

Class managing OHKO moves

Instance Method Summary collapse

Methods inherited from Basic

#effect_working?

Instance Method Details

#deal_damage(user, actual_targets)

Function that deals the damage to the pokemon

Parameters:



4973
4974
# File 'docs/5_Battle_10_Move.rb', line 4973

def deal_damage(user, actual_targets)
end

#ohko? ⇒ Boolean

Tell if the move is an OHKO move

Returns:

  • (Boolean)


4977
4978
# File 'docs/5_Battle_10_Move.rb', line 4977

def ohko?
end