Class: Battle::Effects::Ability::Intimidate
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Intimidate ability effect
Constant Summary collapse
- GEN_8_INTIMIDATE_IMMUNITY =
Constants defining if abilities are immune to Intimidate as is the case after gen 8
true- INTIMIDATE_IMMUNE_ABILITIES =
Constants defining which abilities are immune to Intimidate
%i[own_tempo oblivious inner_focus scrappy]
Instance Method Summary collapse
-
#activated? ⇒ Boolean
If the ability is currently activated.
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
Instance Method Details
#activated? ⇒ Boolean
Returns if the ability is currently activated.
1834 1835 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1834 def activated? end |
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
1831 1832 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1831 def on_switch_event(handler, who, with) end |