Class: Battle::Effects::Ability::ShadowTag
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Shadow Tag ability effect
Direct Known Subclasses
Instance Method Summary collapse
-
#on_switch_prevention(handler, pokemon, skill, reason) ⇒ :prevent?
Function called when testing if pokemon can switch (when he couldn't passthrough).
Instance Method Details
#on_switch_prevention(handler, pokemon, skill, reason) ⇒ :prevent?
Function called when testing if pokemon can switch (when he couldn't passthrough)
229 230 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 229 def on_switch_prevention(handler, pokemon, skill, reason) end |