Class: Battle::Move::Absorb
Overview
Class describing a move that drains HP
Constant Summary collapse
- DRAIN_FACTORS =
don't forget to add a "x.0" if the factor is a float, or it will be converted to 1 (= 100% damage-to-heal conversion)
{draining_kiss: 4 / 3.0, oblivion_wing: 4 / 3.0}
Instance Method Summary collapse
-
#drain? ⇒ Boolean
Tell that the move is a drain move.
-
#drain_factor ⇒ Integer
Returns the drain factor.
Instance Method Details
#drain? ⇒ Boolean
Tell that the move is a drain move
1629 1630 |
# File 'docs/5_Battle_10_Move.rb', line 1629 def drain? end |
#drain_factor ⇒ Integer
Returns the drain factor
1625 1626 |
# File 'docs/5_Battle_10_Move.rb', line 1625 def drain_factor end |