Class: Battle::Effects::Ability::HungerSwitch
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Hunger Switch ability effect
Instance Method Summary collapse
-
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn.
-
#on_post_damage_death(handler, hp, target, launcher, skill)
Function called after damages were applied and when target died (post_damage_death).
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
Instance Method Details
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn
1650 1651 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1650 def on_end_turn_event(logic, scene, battlers) end |
#on_post_damage_death(handler, hp, target, launcher, skill)
Function called after damages were applied and when target died (post_damage_death)
1664 1665 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1664 def on_post_damage_death(handler, hp, target, launcher, skill) end |
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
1656 1657 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1656 def on_switch_event(handler, who, with) end |