Class: Battle::Effects::Ability::Commander
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Commander ability effect
Constant Summary collapse
- COMMANDERS =
List of commanders and their attributes
{tatsugiri: {stats: {atk: 2, dfe: 2, ats: 2, dfs: 2, spd: 2}, ally: :dondozo}}
Instance Method Summary collapse
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
Instance Method Details
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
810 811 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 810 def on_switch_event(handler, who, with) end |