Class: Battle::Move::PayBack

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

Overview

Power doubles if the user was attacked first.

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#real_base_power(user, target) ⇒ Integer

Get the real base power of the move (taking in account all parameter)

Parameters:

Returns:

  • (Integer)


5109
5110
# File 'docs/5_Battle_10_Move.rb', line 5109

def real_base_power(user, target)
end