Class: Battle::Effects::Ability::Imposter

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

Overview

Class describing the Imposter ability effect

Instance Method Summary collapse

Instance Method Details

#message_id ⇒ Array<Integer>

Return the text's CSV ids

Returns:

  • (Array<Integer>)


1776
1777
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1776

def message_id
end

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



1772
1773
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1772

def on_switch_event(handler, who, with)
end