Class: Battle::Move::Magnitude
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class managing Magnitude move
Instance Method Summary collapse
-
#damages(user, target) ⇒ Integer
Method calculating the damages done by the actual move.
-
#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
#damages(user, target) ⇒ Integer
Note:
: I used the 4th Gen formula : https://www.smogon.com/dp/articles/damage_formula
Method calculating the damages done by the actual move
4554 4555 |
# File 'docs/5_Battle_10_Move.rb', line 4554 def damages(user, target) end |
#real_base_power(user, target) ⇒ Integer
Get the real base power of the move (taking in account all parameter)
4547 4548 |
# File 'docs/5_Battle_10_Move.rb', line 4547 def real_base_power(user, target) end |