Class: Battle::Effects::Ability::AirLock

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Air Lock / Cloud Nine ability effect

Instance Method Summary collapse

Instance Method Details

#on_post_damage_death(handler, hp, target, launcher, skill)

Function called after damages were applied and when target died (post_damage_death)

Parameters:



411
412
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 411

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

Parameters:



403
404
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 403

def on_switch_event(handler, who, with)
end