Class: Battle::Effects::Ability::WonderGuard
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Wonder Guard ability
Instance Method Summary collapse
-
#blocked?(user, move, target) ⇒ Boolean
Function called when we try to check if the move is blocked by Wonder Guard.
-
#on_move_ability_immunity(user, target, move) ⇒ Boolean
Function called when we try to check if the Pokemon is immune to a move due to its effect.
Instance Method Details
#blocked?(user, move, target) ⇒ Boolean
Function called when we try to check if the move is blocked by Wonder Guard
4210 4211 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4210 def blocked?(user, move, target) end |
#on_move_ability_immunity(user, target, move) ⇒ Boolean
Function called when we try to check if the Pokemon is immune to a move due to its effect
4203 4204 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4203 def on_move_ability_immunity(user, target, move) end |