Class: Battle::Effects::Ability::Trace

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

Overview

Class managing Trace ability

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:



3903
3904
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3903

def on_switch_event(handler, who, with)
end

#post_ability_change_message(receiver, giver) ⇒ String

Get the post ability change message

Parameters:

Returns:



3909
3910
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3909

def post_ability_change_message(receiver, giver)
end