Class: Battle::Effects::Ability::AsOne

Inherits:
Moxie show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the As One ability

Instance Method Summary collapse

Methods inherited from Moxie

#initialize, #on_post_damage_death

Constructor Details

This class inherits a constructor from Battle::Effects::Ability::Moxie

Instance Method Details

#boosted_stat ⇒ Symbol

The stat that will be boosted

Returns:

  • (Symbol)


4302
4303
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4302

def boosted_stat
end

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



4298
4299
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4298

def on_switch_event(handler, who, with)
end