Class: Battle::Move::FoulPlay

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

Overview

Class managing Foul Play move

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#calc_atk_stat_modifier(user, target, ph_move) ⇒ Integer

Statistic modifier calculation: ATK/ATS

Parameters:

Returns:

  • (Integer)


3405
3406
# File 'docs/5_Battle_10_Move.rb', line 3405

def calc_atk_stat_modifier(user, target, ph_move)
end

#calc_sp_atk_basis(user, target, ph_move) ⇒ Integer

Get the basis atk for the move

Parameters:

Returns:

  • (Integer)


3398
3399
# File 'docs/5_Battle_10_Move.rb', line 3398

def calc_sp_atk_basis(user, target, ph_move)
end