Class: Battle::Move::SacredSword

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

Overview

Inflict Sacred Sword to an enemy (ignore evasion and defense stats change)

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#calc_def_stat_modifier(user, target, ph_move) ⇒ Integer

Statistic modifier calculation: DFE/DFS

Parameters:

Returns:

  • (Integer)


5943
5944
# File 'docs/5_Battle_10_Move.rb', line 5943

def calc_def_stat_modifier(user, target, ph_move)
end

#evasion_mod(_target) ⇒ Float

Return the evasion modifier of the target

Parameters:

Returns:

  • (Float)


5936
5937
# File 'docs/5_Battle_10_Move.rb', line 5936

def evasion_mod(_target)
end