Class: Battle::Effects::Ability::VoltAbsorb
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Volt Absorb ability
Direct Known Subclasses
Instance Method Summary collapse
-
#check_move_type?(move) ⇒ Boolean
Function that checks the type of the move.
-
#factor ⇒ Integer
Returns the factor used for healing.
-
#on_move_prevention_target(user, target, move) ⇒ Boolean
Function called when we try to check if the effect changes the definitive priority of the move.
Instance Method Details
#check_move_type?(move) ⇒ Boolean
Function that checks the type of the move
3953 3954 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3953 def check_move_type?(move) end |
#factor ⇒ Integer
Returns the factor used for healing
3957 3958 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3957 def factor end |
#on_move_prevention_target(user, target, move) ⇒ Boolean
Function called when we try to check if the effect changes the definitive priority of the move
3948 3949 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3948 def on_move_prevention_target(user, target, move) end |