Class: Battle::Effects::Ability::MoldBreaker
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Mold Breaker ability effect (and its variants Teravolt and Turboblaze)
Direct Known Subclasses
Instance Method Summary collapse
-
#on_move_prevention_user(user, targets, move) ⇒ :prevent?
Function called when we try to use a move as the user (returns :prevent if user fails).
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
Instance Method Details
#on_move_prevention_user(user, targets, move) ⇒ :prevent?
Function called when we try to use a move as the user (returns :prevent if user fails)
2108 2109 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2108 def on_move_prevention_user(user, targets, move) end |
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
2101 2102 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2101 def on_switch_event(handler, who, with) end |