Class: Battle::Effects::Ability::Overcoat
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Overcoat ability effect A Pokémon with Overcoat does not take damage from the weather conditions sandstorm and hailstorm. Also protects from powder and spore moves, as well as Effect Spore.
Instance Method Summary collapse
-
#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
#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
2375 2376 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2375 def on_move_ability_immunity(user, target, move) end |