Module: Battle::Effects::Mechanics::ForceFlying
- Included in:
- Battle::Effects::MagnetRise, Telekinesis
- Defined in:
- docs/5_Battle_06_Effects_01_Mechanics.rb
Overview
Effect mechanics that make the pokemon flies When including this mechanics :
- overwrite on_proc_message
- overwrite on_delete_message
Defined Under Namespace
Modules: ForceFlyingCheck
Instance Method Summary collapse
-
#force_flying_initialize(pokemon, name, duration)
Create a new Pokemon tied effect.
-
#on_delete
(also: #force_flying_on_delete)
Function called when the effect has been deleted from the effects handler.
Instance Method Details
#force_flying_initialize(pokemon, name, duration)
Create a new Pokemon tied effect
14 15 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 14 def (pokemon, name, duration) end |
#on_delete Also known as: force_flying_on_delete
Function called when the effect has been deleted from the effects handler
17 18 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 17 def on_delete end |