Class: Battle::Move::ElectroBall
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class describing the Electro Ball move
Constant Summary collapse
- BASE_POWERS =
List of all base power depending on the speed ration between target & user
[[0.25, 150], [0.33, 120], [0.5, 80], [1, 60], [Float::INFINITY, 40]]
Instance Method Summary collapse
-
#real_base_power(user, target) ⇒ Integer
Get the real base power of the move (taking in account all parameter).
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)
2888 2889 |
# File 'docs/5_Battle_10_Move.rb', line 2888 def real_base_power(user, target) end |