Class: Battle::Effects::Item::TerrainSeeds
- Defined in:
- docs/5_Battle_06_Effects_05_Item_Effects.rb
Overview
Class describing Terrain Seed item effects
Constant Summary collapse
- ITEM_DATA =
Data about the different terrain seeds
{}
Class Method Summary collapse
Instance Method Summary collapse
-
#on_post_fterrain_change(handler, fterrain_type, last_fterrain)
Function called after the field terrain was changed (on_post_fterrain_change).
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
-
#use_item_effect(handler)
Function processing the effect of the item.
Class Method Details
.register(db_symbol, terrain, stat, klass = TerrainSeeds)
554 555 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 554 def register(db_symbol, terrain, stat, klass = TerrainSeeds) end |
Instance Method Details
#on_post_fterrain_change(handler, fterrain_type, last_fterrain)
Function called after the field terrain was changed (on_post_fterrain_change)
543 544 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 543 def on_post_fterrain_change(handler, fterrain_type, last_fterrain) end |
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
537 538 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 537 def on_switch_event(handler, who, with) end |
#use_item_effect(handler)
Function processing the effect of the item
547 548 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 547 def use_item_effect(handler) end |