Class: Battle::Effects::Ability::ElectricSurge

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Electric Surge ability effect

Direct Known Subclasses

GrassySurge, MistySurge, PsychicSurge

Instance Method Summary collapse

Instance Method Details

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



81
82
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 81

def on_switch_event(handler, who, with)
end