Class: Battle::Effects::Ability::Intimidate

Inherits:
Ability
  • Object
show all
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

Returns:

  • (Boolean)
true
INTIMIDATE_IMMUNE_ABILITIES =

Constants defining which abilities are immune to Intimidate

Returns:

  • (Array<Symbol>)
%i[own_tempo oblivious inner_focus scrappy]

Instance Method Summary collapse

Instance Method Details

#activated? ⇒ Boolean

Returns if the ability is currently activated.

Returns:

  • (Boolean) —

    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

Parameters:



1831
1832
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1831

def on_switch_event(handler, who, with)
end