Class: Battle::Effects::Item::AirBalloon

Inherits:
Item
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_05_Item_Effects.rb

Overview

Class describing the Air Balloon item effect

Instance Method Summary collapse

Instance Method Details

#on_post_damage(handler, hp, target, launcher, skill) Also known as: on_post_damage_death

Function called after damages were applied (post_damage, when target is still alive)

Parameters:



632
633
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 632

def on_post_damage(handler, hp, target, launcher, skill)
end

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



624
625
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 624

def on_switch_event(handler, who, with)
end